Version 2.2.4
matplotlib

matplotlib.axis.XAxis.get_view_interval

XAxis.get_view_interval()[source]

return the Interval instance for this axis view limits