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.

Examples using matplotlib.axis.XAxis.get_text_heights