def draw_legend(fig, lines, labels):
    """Draw the legend."""
    return fig.legend(lines,
                      labels,
                      loc='upper left',
                      fontsize=6.,
                      bbox_to_anchor=(.81, .92))