Skip to content
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

Can't print scroll mouse events #4432

Closed
rmccampbell opened this issue May 15, 2015 · 1 comment
Closed

Can't print scroll mouse events #4432

rmccampbell opened this issue May 15, 2015 · 1 comment

Comments

@rmccampbell
Copy link

This is a minor bug, but the str method of MouseEvent uses a %d format for "button" which can be a string ("up" or "down") for scroll events. This causes a crash when you try to print it.

@tacaswell
Copy link
Member

What version of mpl are you using?

This was fixed in 6c1f14f / #2399 which should be included in 1.4.0 and later.

Closing this as a duplicate, please ping to have re-opened if this is still a problem in 1.4.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants