matplotlib.axis.XAxis.set_view_interval

XAxis.set_view_interval(self, vmin, vmax, ignore=False)