matplotlib.axis.XAxis.get_view_interval

XAxis.get_view_interval()

Return the view limits (min, max) of this axis.