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

printing MouseEvents throws TypeError when button==None #2398

Closed
dimkal opened this issue Sep 9, 2013 · 1 comment
Closed

printing MouseEvents throws TypeError when button==None #2398

dimkal opened this issue Sep 9, 2013 · 1 comment

Comments

@dimkal
Copy link

dimkal commented Sep 9, 2013

Line 1451 in ./lib/matplotlib/backend_bases.py needs to be changed from:
return ("MPL MouseEvent: xy=(%d,%d) xydata=(%s,%s) button=%g " +
to
return ("MPL MouseEvent: xy=(%d,%d) xydata=(%s,%s) button=%s " +

notice the %g -> %s change.

on that note, is there a process to get commit permissions? i just joined github (probably long overdue) and would like to contribute.

@tacaswell
Copy link
Member

The typical work flow is the fork matplotlib on github and then work on a branch in your copy. When you are happy with your work submit a pull request and after review one of the core devs will merge your branch in to the main line.

@dimkal dimkal closed this as completed Sep 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants