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