Version 3.0.2
matplotlib

matplotlib.axis.XAxis.get_label_text

XAxis.get_label_text()

Get the text of the label