matplotlib.axis.Axis.get_minor_ticks#

Axis.get_minor_ticks(numticks=None)[source]#

Return the list of minor Ticks.

Warning

Ticks are not guaranteed to be persistent. Various operations can create, delete and modify the Tick instances. There is an imminent risk that changes to individual ticks will not survive if you work on the figure further (including also panning/zooming on a displayed figure).

Working on the individual ticks is a method of last resort. Use set_tick_params instead if possible.