matplotlib.axes.Axes.set_yticklabels
-
Axes.set_yticklabels(self, labels, fontdict=None, minor=False, **kwargs)
-
Set the y-tick labels with list of strings labels.
Parameters: -
labelsList[str]
-
list of string labels
-
fontdictdict, optional
-
A dictionary controlling the appearance of the ticklabels. The default fontdict is:
{'fontsize': rcParams['axes.titlesize'], 'fontweight': rcParams['axes.titleweight'], 'verticalalignment': 'baseline', 'horizontalalignment': loc}
-
minorbool, optional
-
Whether to set the minor ticklabels rather than the major ones.
Returns: -
A list of Text instances.
Other Parameters: -
**kwargsText properties.
-
Examples using matplotlib.axes.Axes.set_yticklabels
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.2.2/api/_as_gen/matplotlib.axes.Axes.set_yticklabels.html