Set the yaxis' labels with list of string labels.
Warning
This method should only be used after fixing the tick positions using Axes.set_yticks
. Otherwise, the labels may end up in unexpected positions.
The label texts.
A dictionary controlling the appearance of the ticklabels. The default fontdict is:
{'fontsize': rcParams['axes.titlesize'], 'fontweight': rcParams['axes.titleweight'], 'verticalalignment': 'baseline', 'horizontalalignment': loc}
Whether to set the minor ticklabels rather than the major ones.
Text
The labels.
Text
properties.
matplotlib.axes.Axes.set_yticklabels
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.axes.Axes.set_yticklabels.html