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.

Examples using matplotlib.axis.Axis.get_ticklabel_extents