matplotlib.axes.Axes.set_xticklabels
-
Axes.set_xticklabels(labels, fontdict=None, minor=False, **kwargs) -
Set the x-tick labels with list of string labels.
Parameters: -
labels : list of str -
List of string labels.
-
fontdict : dict, optional -
A dictionary controlling the appearance of the ticklabels. The default
fontdictis:{'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.
Returns: - A list of `~.text.Text` instances.
Other Parameters: -
**kwargs : Text properties.
-
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/2.2.3/api/_as_gen/matplotlib.axes.Axes.set_xticklabels.html