matplotlib.axis.YAxis.set_label_text

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

Set the text value of the axis label.

Parameters:
labelstr

Text string.

fontdictdict

Text properties.

**kwargs

Merged into fontdict.

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