matplotlib.axis.XAxis.get_text_heights

XAxis.get_text_heights(self, 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