You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 3.0.2.post1411+g26609012b
matplotlib
Fork me on GitHub

matplotlib.axis.YAxis.set_label_text

YAxis.set_label_text(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.