{"action":"created","issue":{"url":"https://api.github.com/repos/astrofrog/wcsaxes/issues/186","labels_url":"https://api.github.com/repos/astrofrog/wcsaxes/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/astrofrog/wcsaxes/issues/186/comments","events_url":"https://api.github.com/repos/astrofrog/wcsaxes/issues/186/events","html_url":"https://github.com/astrofrog/wcsaxes/issues/186","id":129889118,"number":186,"title":"Feature: An easy way to make a `wcsaxes.WCS` from an `astropy.wcs.WCS` object","user":{"login":"hamogu","id":498688,"avatar_url":"https://avatars.githubusercontent.com/u/498688?v=3","gravatar_id":"","url":"https://api.github.com/users/hamogu","html_url":"https://github.com/hamogu","followers_url":"https://api.github.com/users/hamogu/followers","following_url":"https://api.github.com/users/hamogu/following{/other_user}","gists_url":"https://api.github.com/users/hamogu/gists{/gist_id}","starred_url":"https://api.github.com/users/hamogu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamogu/subscriptions","organizations_url":"https://api.github.com/users/hamogu/orgs","repos_url":"https://api.github.com/users/hamogu/repos","events_url":"https://api.github.com/users/hamogu/events{/privacy}","received_events_url":"https://api.github.com/users/hamogu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-29T21:38:06Z","updated_at":"2016-01-30T09:50:06Z","closed_at":null,"body":"The best way I can come up with is\r\n```\r\nax = fig.add_subplot(1, 1 ,1 , projection=wcsaxes.WCS(astropywcs.to_header()))\r\n```\r\nMaybe this issue will solve itself when this is merged into astropy by just adding the required methods to the astropy WCS.\r\nUntil then (unless that happens soon), it would be nice to accept an `astropy.wcs.WCS` to initialize a WCS like so: `wcsaxes.WCS(astropywcsinstance)`.\r\n\r\nIt's not so much the extra typing, but the fast that it took me almost an hour to discover this (or maybe I'm just dumb)."},"comment":{"url":"https://api.github.com/repos/astrofrog/wcsaxes/issues/comments/177133954","html_url":"https://github.com/astrofrog/wcsaxes/issues/186#issuecomment-177133954","issue_url":"https://api.github.com/repos/astrofrog/wcsaxes/issues/186","id":177133954,"user":{"login":"astrofrog","id":314716,"avatar_url":"https://avatars.githubusercontent.com/u/314716?v=3","gravatar_id":"","url":"https://api.github.com/users/astrofrog","html_url":"https://github.com/astrofrog","followers_url":"https://api.github.com/users/astrofrog/followers","following_url":"https://api.github.com/users/astrofrog/following{/other_user}","gists_url":"https://api.github.com/users/astrofrog/gists{/gist_id}","starred_url":"https://api.github.com/users/astrofrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astrofrog/subscriptions","organizations_url":"https://api.github.com/users/astrofrog/orgs","repos_url":"https://api.github.com/users/astrofrog/repos","events_url":"https://api.github.com/users/astrofrog/events{/privacy}","received_events_url":"https://api.github.com/users/astrofrog/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T09:50:06Z","updated_at":"2016-01-30T09:50:06Z","body":"@hamogu - ah, good catch, I wanted to leave some time after 1.0 was released then forgot about it :)"}}