You are reading an old version of the documentation (v3.1.0). For the latest version see https://matplotlib.org/stable/

# matplotlib.axis.XAxis.get_tick_space¶

XAxis.get_tick_space(self)[source]

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