matplotlib.axis.Axis.get_label
- Axis.get_label()[source]
-
Return the axis label as a Text instance.
Discouraged
This overrides
Artist.get_label, which is for legend labels, with a new semantic. It is recommended to use the attributeAxis.labelinstead.
© 2012–2026 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.axis.Axis.get_label.html