The 2018 SciPy John Hunter Excellence in Plotting Contest is accepting submissions until June 8th!
Version 2.2.2
matplotlib
Fork me on GitHub

Table Of Contents

matplotlib.pyplot.xlabel

matplotlib.pyplot.xlabel(s, *args, **kwargs)

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.