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.

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/2.2.3/api/_as_gen/matplotlib.axes.Axes.start_pan.html