matplotlib.axes.Axes.set_xlabel
Axes.
set_xlabel
Set the label for the x-axis.
The label text.
Spacing in points between the label and the x-axis.
Text
Text properties control the appearance of the label.
See also
text
Demo of the histogram (hist) function with a few features
Fig Axes Labels Simple
Text Commands
Color Demo