matplotlib

matplotlib.axis.YAxis.get_tick_space

YAxis.get_tick_space()