matplotlib.axis
XAxis.
set_label_text
Set the text value of the axis label.
ACCEPTS: A string value for the label