matplotlib.axes.Axes.set_xlabel

Axes.set_xlabel(xlabel, fontdict=None, labelpad=None, **kwargs)

Set the label for the xaxis.

Parameters:

xlabel : string

x label

labelpad : scalar, optional, default: None

spacing in points between the label and the x-axis

Other Parameters:

**kwargs : Text properties

See also

text
for information on how override and the optional args work

© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.1.0/api/_as_gen/matplotlib.axes.Axes.set_xlabel.html