self in key_press_handler() should be canvas.manager#919
self in key_press_handler() should be canvas.manager#919pelson merged 1 commit intomatplotlib:masterfrom
Conversation
|
Looks like it. I presume this fixes it for you? |
|
My only reservation is that I am fairly sure this is also fixed in another pull request, but I haven't located it yet. |
|
Yes, my fix works for me. Ah, #851 uses |
|
My vote is for your method, since "canvas" is what gets passed in, while "Gcf.get_active()" seems like a kludge that happens to work for most situations. |
|
I agree that this method is preferable (and the correct one). @other devs: In order to merge, can I just press the "Merge pull request" button or should I merge by command line pull & push? |
|
On 06/04/2012 09:35 PM, Phil Elson wrote:
If the button is green, push it! |
|
Quick caveat... always make sure that the PR is to the correct branch first. Also, if you had to do testing of the PR on your system, you might as well do the merging there anyway. Then, if the merge is to the maintenance branch, you will then have to manually perform a merge down to the master branch. |
self in key_press_handler() should be canvas.manager
|
Thanks for fixing this @mspacek, I've merged it onto master. |
Fixes #918