matplotlib.axis.Axis.get_tick_space

Axis.get_tick_space()[source]

Return the estimated number of ticks that can fit on the axis.