Version 3.1.2
matplotlib

matplotlib.axis.XAxis.pan

XAxis.pan(numsteps)

Pan by numsteps (can be positive or negative).