On this page
matplotlib.axes.Axes.set_yticklabels
Axes.set_yticklabels(labels, fontdict=None, minor=False, **kwargs)
-
Set the y-tick labels with list of strings labels
Parameters: labels : list of str
list of string labels
fontdict : dict, 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}
minor : bool, optional
If True select the minor ticklabels, else select the minor ticklabels
Returns: A list of
Text
instances.Other Parameters: **kwargs :
Text
properties.
© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.1.0/api/_as_gen/matplotlib.axes.Axes.set_yticklabels.html