You are reading an old version of the documentation (v3.2.2). For the latest version see
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.get_legend.html
Version 3.2.2
Fork me on GitHub
Installation
Documentation
Examples
Tutorials
Contributing
Navigation
index
modules
|
next
|
previous
|
home
|
contents
»
API Overview
»
matplotlib.axes
»
matplotlib.axes.Axes.get_legend
Related Topics
Documentation overview
API Overview
matplotlib.axes
Previous:
matplotlib.axes.Axes.legend
Next:
matplotlib.axes.Axes.get_legend_handles_labels
Show Page Source
matplotlib.axes.Axes.get_legend
¶
Axes.
get_legend
(
self
)
¶
Return the
Legend
instance, or None if no legend is defined.