Version 2.2.2
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.