Version 3.1.2
matplotlib

matplotlib.axis.XAxis.get_offset_text

XAxis.get_offset_text()

Return the axis offsetText as a Text instance