W3cubDocs

/Matplotlib 3.5

matplotlib.axis.XAxis.get_text_heights

XAxis.get_text_heights(renderer)[source]

Return how much space should be reserved for text above and below the axes, as a pair of floats.

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