You are reading an old version of the documentation (v3.1.3). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.axis.Axis.set_tick_params.html
Version 3.1.3
matplotlib
Fork me on GitHub

matplotlib.axis.Axis.set_tick_params

Axis.set_tick_params(self, which='major', reset=False, **kw)[source]

Set appearance parameters for ticks, ticklabels, and gridlines.

For documentation of keyword arguments, see matplotlib.axes.Axes.tick_params().