matplotlib.axis.XAxis.get_view_interval

XAxis.get_view_interval(self)

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