You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect that we would want to have this enabled by default on the zoom tool?
Do you mean on zoom to rect? I think that adding this to the panning mode feels the most natural:
though it will be good to keep this available outside of a toolbar button to allow greater control. For instance I use this with middle click to pan and left click to use the lasso tool.
@tacaswell wrote a
zoom_factory
function that enables zooming with the mouse scroll wheel in this gist: https://gist.github.com/tacaswell/3144287 this is very useful and would be great if it was offered as a utility function by matplotlib. In mpl-extensions/mpl-interactions#21 (comment) tacaswell wrote:So this issue is to discuss whether/where to incorporate the
zoom_factory
function. Two initial suggestions:Additionally I forked that gist (https://gist.github.com/ianhi/b638e09fa7a00764ea539940a0519af9) and added two things:
if this were to be incorporated in matplotlib it would be nice to have those features as well.
Here is a gif of this with with some extra code to allow middle click to pan(https://gist.github.com/ianhi/5f514c31f13cc28fbd167849867122b7):

The text was updated successfully, but these errors were encountered: