Version 3.1.2
matplotlib

matplotlib.axis.YTick.get_tick_padding

YTick.get_tick_padding()

Get the length of the tick outside of the axes.