def plot_boxes(x, boxes, together):
    'Helper function for plotting multiple boxlims\n\n    Parameters\n    ----------\n    x : pd.DataFrame\n    boxes : list of pd.DataFrame\n    together : bool\n\n    '
    box_init = _make_box(x)
    (box_lims, uncs) = _get_sorted_box_lims(boxes, box_init)
    norm_box_lims = [_normalize(box_lim, box_init, uncs) for box_lim in boxes]
    if together:
        (fig, ax) = _setup_figure(uncs)
        for (i, u) in enumerate(uncs):
            colors = itertools.cycle(COLOR_LIST)
            xi = ((len(uncs) - i) - 1)
            for (j, norm_box_lim) in enumerate(norm_box_lims):
                color = next(colors)
                plot_unc(box_init, xi, i, j, norm_box_lim, box_lims[j], u, ax, color)
        plt.tight_layout()
        return fig
    else:
        figs = []
        colors = itertools.cycle(COLOR_LIST)
        for (j, norm_box_lim) in enumerate(norm_box_lims):
            (fig, ax) = _setup_figure(uncs)
            ax.set_title('box {}'.format(j))
            color = next(colors)
            figs.append(fig)
            for (i, u) in enumerate(uncs):
                xi = ((len(uncs) - i) - 1)
                plot_unc(box_init, xi, i, 0, norm_box_lim, box_lims[j], u, ax, color)
            plt.tight_layout()
        return figs
Helper function for plotting multiple boxlims

Parameters
----------
x : pd.DataFrame
boxes : list of pd.DataFrame
together : bool
def plot_boxes(x, boxes, together):
    'Helper function for plotting multiple boxlims\n\n    Parameters\n    ----------\n    x : pd.DataFrame\n    boxes : list of pd.DataFrame\n    together : bool\n\n    '
    box_init = _make_box(x)
    (box_lims, uncs) = _get_sorted_box_lims(boxes, box_init)
    norm_box_lims = [_normalize(box_lim, box_init, uncs) for box_lim in boxes]
    if together:
        (fig, ax) = _setup_figure(uncs)
        for (i, u) in enumerate(uncs):
            colors = itertools.cycle(COLOR_LIST)
            xi = ((len(uncs) - i) - 1)
            for (j, norm_box_lim) in enumerate(norm_box_lims):
                color = next(colors)
                plot_unc(box_init, xi, i, j, norm_box_lim, box_lims[j], u, ax, color)
        plt.tight_layout()
        return fig
    else:
        figs = []
        colors = itertools.cycle(COLOR_LIST)
        for (j, norm_box_lim) in enumerate(norm_box_lims):
            (fig, ax) = _setup_figure(uncs)
            ax.set_title('box {}'.format(j))
            color = next(colors)
            figs.append(fig)
            for (i, u) in enumerate(uncs):
                xi = ((len(uncs) - i) - 1)
                plot_unc(box_init, xi, i, 0, norm_box_lim, box_lims[j], u, ax, color)
            plt.tight_layout()
        return figs