matplotlib

matplotlib.axis.Tick.set_pad

Tick.set_pad(val)

Set the tick label pad in points

ACCEPTS: float