You are reading an old version of the documentation (v2.2.3). For the latest version see https://matplotlib.org/stable/
Version 2.2.3
matplotlib
Fork me on GitHub

matplotlib.axis.YAxis.set_view_interval

YAxis.set_view_interval(vmin, vmax, ignore=False)[source]

If ignore is False, the order of vmin, vmax does not matter; the original axis orientation will be preserved. In addition, the view limits can be expanded, but will not be reduced. This method is for mpl internal use; for normal use, see set_ylim().