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 attribute Axis.label instead.