matplotlib.axes
matplotlib.axes.Axes.set_xlabel
Axes.
set_xlabel
Set the label for the x-axis.
The label text.
Spacing in points from the axes bounding box including ticks and tick labels.
Text
Text properties control the appearance of the label.
See also
text
Demo of the histogram (hist) function with a few features
Simple axes labels
Text Commands
Color Demo