{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/8718","repository_url":"https://api.github.com/repos/matplotlib/matplotlib","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/8718/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/8718/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/8718/events","html_url":"https://github.com/matplotlib/matplotlib/issues/8718","id":233460310,"number":8718,"title":"deprecation warning in the wxagg backend as of master","user":{"login":"anntzer","id":1322974,"avatar_url":"https://avatars3.githubusercontent.com/u/1322974?v=3","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"labels":[{"id":151678852,"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/GUI/wx","name":"GUI/wx","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/12","html_url":"https://github.com/matplotlib/matplotlib/milestone/12","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/12/labels","id":534144,"number":12,"title":"2.1 (next point release)","description":"Next feature release.\r\n\r\nBig ticket items:\r\n\r\n - MEP 22/27\r\n - traitlets","creator":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars0.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"open_issues":638,"closed_issues":919,"state":"open","created_at":"2014-01-13T03:21:09Z","updated_at":"2017-06-06T06:26:29Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-06-04T21:15:12Z","updated_at":"2017-06-06T06:30:05Z","closed_at":null,"body":"As of master, plotting something on the wxagg backend yields the warning\r\n```\r\n/home/antony/src/extern/matplotlib/lib/matplotlib/backends/backend_wx.py:1013: MatplotlibDeprecationWarning: The idle_event function was deprecated in version 2.1.\r\n  FigureCanvasBase.idle_event(self, guiEvent=evt)\r\n/home/antony/src/extern/matplotlib/lib/matplotlib/backend_bases.py:1960: MatplotlibDeprecationWarning: The IdleEvent class was deprecated in version 2.1.\r\n  event = IdleEvent(s, self, guiEvent=guiEvent)\r\n```\r\n\r\nOf course we could choose to no longer call `self.Bind(wx.EVT_IDLE, self._onIdle)` (which ultimately triggers the warning) but if we decide to go with such a compatibility break then we may as well remove all of idle_event in 2.1 instead of going through a deprecation cycle..."},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/306394649","html_url":"https://github.com/matplotlib/matplotlib/issues/8718#issuecomment-306394649","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/8718","id":306394649,"user":{"login":"anntzer","id":1322974,"avatar_url":"https://avatars3.githubusercontent.com/u/1322974?v=3","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"created_at":"2017-06-06T06:30:05Z","updated_at":"2017-06-06T06:30:05Z","body":"There's already one.\r\n```\r\n    def mpl_connect(self, s, func):\r\n        <docstring>\r\n        if s == 'idle_event':\r\n            warn_deprecated(1.5,\r\n                \"idle_event is only implemented for the wx backend, and will \"\r\n                \"be removed in matplotlib 2.1. Use the animations module \"\r\n                \"instead.\")\r\n\r\n        return self.callbacks.connect(s, func)\r\n```\r\n\r\nAgain, perhaps it is simpler to consider that that warning was sufficient and allow ourselves to entirely remove the idle_event machinery in 2.1."}}
{"actor":{"display_login":"anntzer"}}