Version 3.1.2
matplotlib

matplotlib.axis.XAxis.get_tick_padding

XAxis.get_tick_padding()