def _setup_figure(uncs):
    '\n\n    helper function for creating the basic layout for the figures that\n    show the box lims.\n\n    '
    nr_unc = len(uncs)
    fig = plt.figure()
    ax = fig.add_subplot(111)
    rect = mpl.patches.Rectangle((0, (- 0.5)), 1, (nr_unc + 1.5), alpha=0.25, facecolor='#C0C0C0', edgecolor='#C0C0C0')
    ax.add_patch(rect)
    ax.set_xlim(left=(- 0.2), right=1.2)
    ax.set_ylim(top=(- 0.5), bottom=(nr_unc - 0.5))
    ax.yaxis.set_ticks([y for y in range(nr_unc)])
    ax.xaxis.set_ticks([0, 0.25, 0.5, 0.75, 1])
    ax.set_yticklabels(uncs[::(- 1)])
    return (fig, ax)
helper function for creating the basic layout for the figures that
show the box lims.
def _setup_figure(uncs):
    '\n\n    helper function for creating the basic layout for the figures that\n    show the box lims.\n\n    '
    nr_unc = len(uncs)
    fig = plt.figure()
    ax = fig.add_subplot(111)
    rect = mpl.patches.Rectangle((0, (- 0.5)), 1, (nr_unc + 1.5), alpha=0.25, facecolor='#C0C0C0', edgecolor='#C0C0C0')
    ax.add_patch(rect)
    ax.set_xlim(left=(- 0.2), right=1.2)
    ax.set_ylim(top=(- 0.5), bottom=(nr_unc - 0.5))
    ax.yaxis.set_ticks([y for y in range(nr_unc)])
    ax.xaxis.set_ticks([0, 0.25, 0.5, 0.75, 1])
    ax.set_yticklabels(uncs[::(- 1)])
    return (fig, ax)