New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nbagg scroll wheel / middle click button event #4289
Labels
Comments
This looks like it is intentional to disable to context menu |
Ah okay, that's a bit unexpected but understandable; right clicking doesn't open a context menu and registers correctly on the versions of chrome/firefox I was using. Maybe a note could be put in the MouseEvent docstring about this special case? Thanks! |
@azjps Could you put in a PR to do that? |
azjps
added a commit
to azjps/matplotlib
that referenced
this issue
Mar 28, 2015
In nbagg backend right now, MouseEvent.button maps to 3 for both middle clicks and right clicks. Added a note about this in MouseEvent docstring. Closes matplotlib#4289 for now. Change-Id: I1a191382191087ebb9072626c9f4dfb59c519d89
azjps
added a commit
to azjps/matplotlib
that referenced
this issue
Mar 30, 2015
In nbagg backend right now, MouseEvent.button maps to 3 for both middle clicks and right clicks. Added a note about this in MouseEvent docstring. Closes matplotlib#4289 for now. Change-Id: I1a191382191087ebb9072626c9f4dfb59c519d89
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On scroll wheel (middle) click for nbagg backend, the returned MouseEvent.button is 3 instead of 2, so middle and right clicks aren't distinguishable. For example try UAT 16. This occurred for me on chrome with IPython 2.3.0 and matplotlib 1.4.3 / 1.5.dev1.
Would try to fix myself but I assume it'd be quicker for someone from say this issue to change the errant javascript / ipython / matplotlib / wherever code. :)
The text was updated successfully, but these errors were encountered: