add_legend(self, legend_data=None, title=None, label_order=None, adjust_subtitles=False, **kwargs)¶
Draw a legend, maybe placing it outside axes and resizing the figure.
Dictionary mapping label names (or two-element tuples where the
second element is a label name) to matplotlib artist handles. The
default reads from
Title for the legend. The default reads from
The order that the legend entries should appear in. The default
If True, modify entries with invisible artists to left-align the labels and set the font size to that of a title.
Other keyword arguments are passed to the underlying legend methods on the Figure or Axes object.
Returns self for easy chaining.