matplotlib.axis.XAxis.set_ticklabels¶
-
XAxis.set_ticklabels(ticklabels, *args, minor=False, **kwargs)¶ Set the text values of the tick labels.
Parameters: ticklabels : sequence of str or of
TextsList of texts for tick labels; must include values for non-visible labels.
minor : bool
If True, set minor ticks instead of major ticks.
**kwargs
Text properties.
Returns: labels : list of
TextsFor each tick, includes
tick.label1if it is visible, thentick.label2if it is visible, in that order.