matplotlib / 3.1.1 / _as_gen / matplotlib.axis.xaxis.get_tightbbox.html /

matplotlib.axis.XAxis.get_tightbbox

XAxis.get_tightbbox(self, renderer)

Return a bounding box that encloses the axis. It only accounts tick labels, axis label, and offsetText.

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.axis.XAxis.get_tightbbox.html