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