{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/2624","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/2624/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/2624/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/2624/events","html_url":"https://github.com/matplotlib/matplotlib/pull/2624","id":23482055,"number":2624,"title":"Backend plt/gcf refactor","user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/18","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/18/labels","id":970105,"number":18,"title":"next point release","description":"Next minor release.","creator":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.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":158,"closed_issues":28,"state":"open","created_at":"2015-02-07T21:22:30Z","updated_at":"2015-02-21T05:15:39Z","due_on":"2015-07-06T04:00:00Z","closed_at":null},"comments":54,"created_at":"2013-11-29T09:26:15Z","updated_at":"2015-02-21T19:34:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/2624","html_url":"https://github.com/matplotlib/matplotlib/pull/2624","diff_url":"https://github.com/matplotlib/matplotlib/pull/2624.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/2624.patch"},"body":"This is an alternative to #2617.  The idea is to factor Gcf out of the toolkit backends so that the manager classes can be reused in external gui applications.\r\n\r\nThese changes should be backwards compatible.\r\n\r\nAdded an example for Qt4 to show how to use the managers in an external program.\r\n\r\nCurrently only backend_bases, qt4 and qt4agg are done, but the other backends should be doable incrementally. \r\n\r\nThe relavent backends are (I think)\r\n\r\n- [x] qt4/qt4Agg\r\n- [x] gtk\r\n- [x] gtk3\r\n- [ ] macosx\r\n- [ ] pdf (in `PdfPages`)\r\n- [x] ps \r\n- [ ] tkAgg\r\n- [ ] webAgg\r\n- [ ] wx\r\n\r\nThis possibly should get a MEP."},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/75388419","html_url":"https://github.com/matplotlib/matplotlib/pull/2624#issuecomment-75388419","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/2624","id":75388419,"user":{"login":"OceanWolf","id":3758703,"avatar_url":"https://avatars.githubusercontent.com/u/3758703?v=3","gravatar_id":"","url":"https://api.github.com/users/OceanWolf","html_url":"https://github.com/OceanWolf","followers_url":"https://api.github.com/users/OceanWolf/followers","following_url":"https://api.github.com/users/OceanWolf/following{/other_user}","gists_url":"https://api.github.com/users/OceanWolf/gists{/gist_id}","starred_url":"https://api.github.com/users/OceanWolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OceanWolf/subscriptions","organizations_url":"https://api.github.com/users/OceanWolf/orgs","repos_url":"https://api.github.com/users/OceanWolf/repos","events_url":"https://api.github.com/users/OceanWolf/events{/privacy}","received_events_url":"https://api.github.com/users/OceanWolf/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T19:34:34Z","updated_at":"2015-02-21T19:34:34Z","body":"@tacaswell Just to make it clear, I don't know much about the various backends, so I will put all my focus on refactoring just ``GTK3``, in doing so it may look very GTK centric in its base approach, which I then expect to polish out later."}}