matplotlib.pyplot.figlegend(*args, **kwargs)
[source]
Place a legend in the figure.
Line2D
or Patch
instancesA matplotlib.legend.Legend
instance is returned.
To make a legend from existing artists on every axes:
figlegend()
To make a legend for a list of lines and labels:
figlegend( (line1, line2, line3), ('label1', 'label2', 'label3'), 'upper right' )
See also
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.0.0/api/_as_gen/matplotlib.pyplot.figlegend.html