matplotlib.axes.Axes.set_xticklabels¶
-
Axes.
set_xticklabels
(self, labels, fontdict=None, minor=False, **kwargs)¶ Set the x-tick labels with list of string 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: - **kwargs
Text
properties.