You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Applications are open for the 2018 John Hunter Matplotlib Summer Fellowship. Apply now!
Version 2.2.2.post1744+g9382a0569
matplotlib
Fork me on GitHub

matplotlib.axis.Axis.set_label_text

Axis.set_label_text(label, fontdict=None, **kwargs)[source]

Set the text value of the axis label.

ACCEPTS: A string value for the label