matplotlib.axis.XAxis.set_ticklabels¶
-
XAxis.
set_ticklabels
(self, ticklabels, \*args, minor=False, \*\*kwargs)¶ Set the text values of the tick labels.
Parameters: - ticklabelssequence of str or of
Text
s List of texts for tick labels; must include values for non-visible labels.
- minorbool
If True, set minor ticks instead of major ticks.
- **kwargs
Text properties.
Returns: - labelslist of
Text
s For each tick, includes
tick.label1
if it is visible, thentick.label2
if it is visible, in that order.
- ticklabelssequence of str or of