matplotlib

matplotlib.axis.Axis.get_offset_text

Axis.get_offset_text()

Return the axis offsetText as a Text instance