Version 2.2.4
matplotlib

matplotlib.axis.YTick.get_pad_pixels

YTick.get_pad_pixels()