Version 3.1.2
matplotlib

matplotlib.axis.YAxis.pan

YAxis.pan(numsteps)

Pan by numsteps (can be positive or negative).