{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/xarray/issues/1785","repository_url":"https://api.github.com/repos/pydata/xarray","labels_url":"https://api.github.com/repos/pydata/xarray/issues/1785/labels{/name}","comments_url":"https://api.github.com/repos/pydata/xarray/issues/1785/comments","events_url":"https://api.github.com/repos/pydata/xarray/issues/1785/events","html_url":"https://github.com/pydata/xarray/pull/1785","id":282339218,"number":1785,"title":"plot.line(): Draw multiple lines for 2D DataArrays.","user":{"login":"dcherian","id":2448579,"avatar_url":"https://avatars3.githubusercontent.com/u/2448579?v=4","gravatar_id":"","url":"https://api.github.com/users/dcherian","html_url":"https://github.com/dcherian","followers_url":"https://api.github.com/users/dcherian/followers","following_url":"https://api.github.com/users/dcherian/following{/other_user}","gists_url":"https://api.github.com/users/dcherian/gists{/gist_id}","starred_url":"https://api.github.com/users/dcherian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcherian/subscriptions","organizations_url":"https://api.github.com/users/dcherian/orgs","repos_url":"https://api.github.com/users/dcherian/repos","events_url":"https://api.github.com/users/dcherian/events{/privacy}","received_events_url":"https://api.github.com/users/dcherian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-12-15T07:14:25Z","updated_at":"2017-12-19T02:00:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pydata/xarray/pulls/1785","html_url":"https://github.com/pydata/xarray/pull/1785","diff_url":"https://github.com/pydata/xarray/pull/1785.diff","patch_url":"https://github.com/pydata/xarray/pull/1785.patch"},"body":" - [x] Tests added (for all bug fixes or enhancements)\r\n - [x] Tests passed (for all non-documentation changes)\r\n - [x] Passes ``git diff upstream/master **/*py | flake8 --diff`` (remove if you did not edit any Python files)\r\n - [x] Fully documented, including `whats-new.rst` for all changes and `api.rst` for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later)\r\n\r\nAdds support for plotting multiple lines if `plot.line()` is provided with a 2D dataarray.\r\n\r\nkwarg `x` lets you specify co-ordinate for x-axis.\r\n\r\nExample:\r\n\r\n\r\n![xarray-multiple-line](https://user-images.githubusercontent.com/2448579/34031085-96dfbaee-e124-11e7-8578-e97586257b7a.png)\r\n"},"comment":{"url":"https://api.github.com/repos/pydata/xarray/issues/comments/352616597","html_url":"https://github.com/pydata/xarray/pull/1785#issuecomment-352616597","issue_url":"https://api.github.com/repos/pydata/xarray/issues/1785","id":352616597,"user":{"login":"dcherian","id":2448579,"avatar_url":"https://avatars3.githubusercontent.com/u/2448579?v=4","gravatar_id":"","url":"https://api.github.com/users/dcherian","html_url":"https://github.com/dcherian","followers_url":"https://api.github.com/users/dcherian/followers","following_url":"https://api.github.com/users/dcherian/following{/other_user}","gists_url":"https://api.github.com/users/dcherian/gists{/gist_id}","starred_url":"https://api.github.com/users/dcherian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcherian/subscriptions","organizations_url":"https://api.github.com/users/dcherian/orgs","repos_url":"https://api.github.com/users/dcherian/repos","events_url":"https://api.github.com/users/dcherian/events{/privacy}","received_events_url":"https://api.github.com/users/dcherian/received_events","type":"User","site_admin":false},"created_at":"2017-12-19T02:00:31Z","updated_at":"2017-12-19T02:00:31Z","author_association":"CONTRIBUTOR","body":"@fmaussion I've added one more commit. If `x` kwarg is not provided, we automatically choose the longer dimension. So if you have a 10000x3 DataArray, this will plot 3 lines instead of 10000.\r\n\r\nExtended an existing test\r\n"}}
{"actor":{"display_login":"dcherian"}}