The 2019 SciPy John Hunter Excellence in Plotting Contest is accepting submissions!
Apply by June 8th

Version 3.1.0
Fork me on GitHub


Axis.set_ticklabels(self, ticklabels, *args, minor=False, **kwargs)[source]

Set the text values of the tick labels.

ticklabels : sequence of str or of Texts

List of texts for tick labels; must include values for non-visible labels.

minor : bool

If True, set minor ticks instead of major ticks.


Text properties.

labels : list of Texts

For each tick, includes tick.label1 if it is visible, then tick.label2 if it is visible, in that order.