Axes.drag_pan(self, button, key, x, y)
Called when the mouse moves during a pan operation.
button is the mouse button number:
key is a "shift" key
x, y are the mouse coordinates in display coords.
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/3.1.1/api/_as_gen/matplotlib.axes.Axes.drag_pan.html