Version 2.2.2
matplotlib
Fork me on GitHub

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.