You are reading an old version of the documentation (v2.0.0). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.start_pan.html
matplotlib

Travis-CI:

This Page

matplotlib.axes.Axes.start_pan

Axes.start_pan(x, y, button)

Called when a pan operation has started.

x, y are the mouse coordinates in display coords. button is the mouse button number:

  • 1: LEFT
  • 2: MIDDLE
  • 3: RIGHT

Note

Intended to be overridden by new projection types.