matplotlib

matplotlib.axis.Axis.get_label

Axis.get_label()

Return the axis label as a Text instance