Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axis.Axis.get_ticklabel_extents

Axis.get_ticklabel_extents(renderer)[source]

Get the extents of the tick labels on either side of the axes.