matplotlib.pyplot.xlabel

matplotlib.pyplot.xlabel(s, *args, **kwargs) [source]

Set the x-axis label of the current axes.

Call signature:

xlabel(label, fontdict=None, labelpad=None, **kwargs)

This is the pyplot equivalent of calling set_xlabel on the current axes. See there for a full parameter description.

Examples using matplotlib.pyplot.xlabel

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/2.2.3/api/_as_gen/matplotlib.pyplot.xlabel.html