You are reading an old version of the documentation (v3.1.1). For the latest version see
Version 3.1.2
Fork me on GitHub


Axes.drag_pan(self, button, key, x, y)

Called when the mouse moves during a pan operation.

button is the mouse button number:

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

key is a "shift" key

x, y are the mouse coordinates in display coords.


Intended to be overridden by new projection types.