{"action":"opened","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7238","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7238/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7238/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/7238/events","html_url":"https://github.com/matplotlib/matplotlib/issues/7238","id":181851258,"number":7238,"title":"pick_event doesn't work in Tkinter embedded graph","user":{"login":"adailsonfilho","id":8018354,"avatar_url":"https://avatars.githubusercontent.com/u/8018354?v=3","gravatar_id":"","url":"https://api.github.com/users/adailsonfilho","html_url":"https://github.com/adailsonfilho","followers_url":"https://api.github.com/users/adailsonfilho/followers","following_url":"https://api.github.com/users/adailsonfilho/following{/other_user}","gists_url":"https://api.github.com/users/adailsonfilho/gists{/gist_id}","starred_url":"https://api.github.com/users/adailsonfilho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adailsonfilho/subscriptions","organizations_url":"https://api.github.com/users/adailsonfilho/orgs","repos_url":"https://api.github.com/users/adailsonfilho/repos","events_url":"https://api.github.com/users/adailsonfilho/events{/privacy}","received_events_url":"https://api.github.com/users/adailsonfilho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-08T22:04:38Z","updated_at":"2016-10-08T22:04:38Z","closed_at":null,"body":"I'm trying to handle some events to perform user interactions with embedded subplots into a Tkinter frame. Like in this [example](http://matplotlib.org/examples/user_interfaces/embedding_in_tk.html)\r\n\r\nWorks fine with \"key_press_event\" and \"button_press_event\", but does not work with \"pick_event\".\r\n\r\nI modified that example from the link, just adding the following piece of code after the mpl_connect calling:\r\n\r\n```\r\ndef on_button_press(event):\r\n    print('you pressed mouse button')\r\n\r\ncanvas.mpl_connect('button_press_event', on_button_press)\r\n\r\ndef on_pick(event):\r\n    print('you picked:',event.artist)\r\n\r\ncanvas.mpl_connect('pick_event', on_pick)\r\n```\r\nWhy \"pick_event\" doesn't work into embedded graphs? And how do get it to work?\r\n\r\nMy configurations detailed:\r\n\r\nWindows 10\r\nPython 3.5 (conda version)\r\nMatplotlib 1.5.3 installed via pip"}}
{"actor":{"display_login":"adailsonfilho"}}