matplotlib.axis.Axis.get_label#

Axis.get_label()[source]#

[Discouraged] Return the axis label as a Text instance.

Discouraged

This overridesArtist.get_label, which is for legend labels, with a newsemantic. It is recommended to use the attributeAxis.label instead.

On this page