matplotlib.axis.XAxis.get_ticklabel_extents
- 
XAxis.get_ticklabel_extents(renderer) - 
Get the extents of the tick labels on either side of the axes.
 
    © 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
    https://matplotlib.org/3.0.0/api/_as_gen/matplotlib.axis.XAxis.get_ticklabel_extents.html