Version 3.1.2
matplotlib

matplotlib.axis.Axis.get_view_interval

Axis.get_view_interval()[source]

Return the Interval instance for this axis view limits.