You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 3.0.0.post904+g194370762
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.