First of all, I have to say the predefined functions from matplotlib is wonderful. For historical reasons, however, I need to modify the mouse motion for the zoom() function to do the following,
- holding mouse button 1 & drag downwards -> zoom in
- holding mouse button 1 & drag upwards -> zoom out
and I have spent a week on this now without success
Any help will be greatly appreciated!