def _legend_axis(pos):
    """Add a legend axis to the bottom right."""
    import matplotlib.pyplot as plt
    left, bottom = pos[:, (0)].max(), pos[:, (1)].min()
    wid, hei = pos[(-1), 2:]
    return plt.axes([left, bottom + 0.05, wid, hei])
