{"action":"created","issue":{"url":"https://api.github.com/repos/SciTools/iris/issues/1942","repository_url":"https://api.github.com/repos/SciTools/iris","labels_url":"https://api.github.com/repos/SciTools/iris/issues/1942/labels{/name}","comments_url":"https://api.github.com/repos/SciTools/iris/issues/1942/comments","events_url":"https://api.github.com/repos/SciTools/iris/issues/1942/events","html_url":"https://github.com/SciTools/iris/pull/1942","id":134134012,"number":1942,"title":"Added handling of axes to regular plotting functions","user":{"login":"philippjfr","id":1550771,"avatar_url":"https://avatars.githubusercontent.com/u/1550771?v=3","gravatar_id":"","url":"https://api.github.com/users/philippjfr","html_url":"https://github.com/philippjfr","followers_url":"https://api.github.com/users/philippjfr/followers","following_url":"https://api.github.com/users/philippjfr/following{/other_user}","gists_url":"https://api.github.com/users/philippjfr/gists{/gist_id}","starred_url":"https://api.github.com/users/philippjfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippjfr/subscriptions","organizations_url":"https://api.github.com/users/philippjfr/orgs","repos_url":"https://api.github.com/users/philippjfr/repos","events_url":"https://api.github.com/users/philippjfr/events{/privacy}","received_events_url":"https://api.github.com/users/philippjfr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/SciTools/iris/milestones/14","html_url":"https://github.com/SciTools/iris/milestones/v1.10","labels_url":"https://api.github.com/repos/SciTools/iris/milestones/14/labels","id":1426195,"number":14,"title":"v1.10","description":"","creator":{"login":"QuLogic","id":302469,"avatar_url":"https://avatars.githubusercontent.com/u/302469?v=3","gravatar_id":"","url":"https://api.github.com/users/QuLogic","html_url":"https://github.com/QuLogic","followers_url":"https://api.github.com/users/QuLogic/followers","following_url":"https://api.github.com/users/QuLogic/following{/other_user}","gists_url":"https://api.github.com/users/QuLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/QuLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuLogic/subscriptions","organizations_url":"https://api.github.com/users/QuLogic/orgs","repos_url":"https://api.github.com/users/QuLogic/repos","events_url":"https://api.github.com/users/QuLogic/events{/privacy}","received_events_url":"https://api.github.com/users/QuLogic/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":38,"state":"open","created_at":"2015-11-23T22:23:19Z","updated_at":"2016-03-02T09:46:05Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2016-02-17T00:08:41Z","updated_at":"2016-03-02T10:55:15Z","closed_at":"2016-03-02T09:44:00Z","pull_request":{"url":"https://api.github.com/repos/SciTools/iris/pulls/1942","html_url":"https://github.com/SciTools/iris/pull/1942","diff_url":"https://github.com/SciTools/iris/pull/1942.diff","patch_url":"https://github.com/SciTools/iris/pull/1942.patch"},"body":"This PR makes it possible to pass an existing matplotlib ``Axes`` object to the various plotting functions in the plotting module. I realize that in PR #1112 drawing directly onto the axes was disabled, instead always drawing to the axis that is currently open using the ``plt`` function calls. While that is a good fix for users using the ``plt`` interface, which is useful for simple usage, when building more complex plots the object-oriented approach is the way to go. This is crucial for some of the functionality we're building as part of the [cube-explorer](https://github.com/CubeBrowser/cube-explorer) project integrating Iris functionality within [HoloViews](http://holoviews.org).\r\n\r\nIt's a fairly small set of changes but not being familiar with the code I may have missed something. I think only providing this functionality in plot but not quickplot makes sense since the latter is suited towards usage in an interactive interpreter anyway. I'd be happy to add examples, documentation and tests once we agree these are the correct changes."},"comment":{"url":"https://api.github.com/repos/SciTools/iris/issues/comments/191186912","html_url":"https://github.com/SciTools/iris/pull/1942#issuecomment-191186912","issue_url":"https://api.github.com/repos/SciTools/iris/issues/1942","id":191186912,"user":{"login":"philippjfr","id":1550771,"avatar_url":"https://avatars.githubusercontent.com/u/1550771?v=3","gravatar_id":"","url":"https://api.github.com/users/philippjfr","html_url":"https://github.com/philippjfr","followers_url":"https://api.github.com/users/philippjfr/followers","following_url":"https://api.github.com/users/philippjfr/following{/other_user}","gists_url":"https://api.github.com/users/philippjfr/gists{/gist_id}","starred_url":"https://api.github.com/users/philippjfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippjfr/subscriptions","organizations_url":"https://api.github.com/users/philippjfr/orgs","repos_url":"https://api.github.com/users/philippjfr/repos","events_url":"https://api.github.com/users/philippjfr/events{/privacy}","received_events_url":"https://api.github.com/users/philippjfr/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T10:55:15Z","updated_at":"2016-03-02T10:55:15Z","body":"Yay! Thanks for merging @pelson."}}