W3cubDocs

/Matplotlib 3.1

matplotlib.axis.XAxis.set_label_text

XAxis.set_label_text(self, label, fontdict=None, **kwargs)

Set the text value of the axis label.

Parameters:
label : str

Text string.

fontdict : dict

Text properties.

**kwargs

Merged into fontdict.

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.axis.XAxis.set_label_text.html