{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1965","repository_url":"https://api.github.com/repos/scikit-image/scikit-image","labels_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1965/labels{/name}","comments_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1965/comments","events_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1965/events","html_url":"https://github.com/scikit-image/scikit-image/pull/1965","id":136881333,"number":1965,"title":"Added img_to_cmap function","user":{"login":"vighneshbirodkar","id":3823490,"avatar_url":"https://avatars.githubusercontent.com/u/3823490?v=3","gravatar_id":"","url":"https://api.github.com/users/vighneshbirodkar","html_url":"https://github.com/vighneshbirodkar","followers_url":"https://api.github.com/users/vighneshbirodkar/followers","following_url":"https://api.github.com/users/vighneshbirodkar/following{/other_user}","gists_url":"https://api.github.com/users/vighneshbirodkar/gists{/gist_id}","starred_url":"https://api.github.com/users/vighneshbirodkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vighneshbirodkar/subscriptions","organizations_url":"https://api.github.com/users/vighneshbirodkar/orgs","repos_url":"https://api.github.com/users/vighneshbirodkar/repos","events_url":"https://api.github.com/users/vighneshbirodkar/events{/privacy}","received_events_url":"https://api.github.com/users/vighneshbirodkar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scikit-image/scikit-image/labels/new%20feature","name":"new feature","color":"8a64ae"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-02-27T05:31:47Z","updated_at":"2016-02-29T13:27:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1965","html_url":"https://github.com/scikit-image/scikit-image/pull/1965","diff_url":"https://github.com/scikit-image/scikit-image/pull/1965.diff","patch_url":"https://github.com/scikit-image/scikit-image/pull/1965.patch"},"body":"I didn't confirm with the other devs before adding this. I won't mind if this PR is rejected.\r\n\r\n## Example plots\r\n![figure_1](https://cloud.githubusercontent.com/assets/3823490/13371009/697e4d72-dce9-11e5-892d-656facb64894.png)\r\n![figure_2](https://cloud.githubusercontent.com/assets/3823490/13371008/697d2078-dce9-11e5-8769-1e5b2c48b012.png)\r\n"},"comment":{"url":"https://api.github.com/repos/scikit-image/scikit-image/issues/comments/190210990","html_url":"https://github.com/scikit-image/scikit-image/pull/1965#issuecomment-190210990","issue_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1965","id":190210990,"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},"created_at":"2016-02-29T13:27:33Z","updated_at":"2016-02-29T13:27:33Z","body":"`cmap(array)` also returns an RGBA array."}}