The 2018 SciPy John Hunter Excellence in Plotting Contest is accepting submissions until June 8th!
Version 2.2.2
Fork me on GitHub


Axes.set_yticklabels(labels, fontdict=None, minor=False, **kwargs)

Set the y-tick labels with list of strings labels.

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

Whether to set the minor ticklabels rather than the major ones.

A list of `~.text.Text` instances.
Other Parameters:
**kwargs : Text properties.