{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/nipy/issues/405","repository_url":"https://api.github.com/repos/nipy/nipy","labels_url":"https://api.github.com/repos/nipy/nipy/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/nipy/nipy/issues/405/comments","events_url":"https://api.github.com/repos/nipy/nipy/issues/405/events","html_url":"https://github.com/nipy/nipy/issues/405","id":167437291,"number":405,"title":"Some issues with coloring in plot_map","user":{"login":"alexvicegrab","id":1575642,"avatar_url":"https://avatars.githubusercontent.com/u/1575642?v=3","gravatar_id":"","url":"https://api.github.com/users/alexvicegrab","html_url":"https://github.com/alexvicegrab","followers_url":"https://api.github.com/users/alexvicegrab/followers","following_url":"https://api.github.com/users/alexvicegrab/following{/other_user}","gists_url":"https://api.github.com/users/alexvicegrab/gists{/gist_id}","starred_url":"https://api.github.com/users/alexvicegrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexvicegrab/subscriptions","organizations_url":"https://api.github.com/users/alexvicegrab/orgs","repos_url":"https://api.github.com/users/alexvicegrab/repos","events_url":"https://api.github.com/users/alexvicegrab/events{/privacy}","received_events_url":"https://api.github.com/users/alexvicegrab/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-25T18:46:12Z","updated_at":"2016-07-28T00:50:52Z","closed_at":"2016-07-25T21:44:28Z","body":"I'm using the viz module to visualise some FSL FIRST segmentations, and the cmap (colourmap) works well when I include most of the structures, but when I include a reduced number (3 or less unique values), they all turn white. This is despite inputting the pyplot colormap option \"cmap=viz.cm.cold_hot\" to plot_map.\r\n\r\nI have tried the following example as well:\r\n\r\nhttp://nipy.org/nipy/labs/viz.html\r\n\r\nand the red square appears white on my interface, with or without the cmap option.\r\n\r\nFor reference, I'm plotting on a Jupyter [iPython] Notebook on an Ubuntu system sitting on AWS."},"comment":{"url":"https://api.github.com/repos/nipy/nipy/issues/comments/235766361","html_url":"https://github.com/nipy/nipy/issues/405#issuecomment-235766361","issue_url":"https://api.github.com/repos/nipy/nipy/issues/405","id":235766361,"user":{"login":"matthew-brett","id":67612,"avatar_url":"https://avatars.githubusercontent.com/u/67612?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-brett","html_url":"https://github.com/matthew-brett","followers_url":"https://api.github.com/users/matthew-brett/followers","following_url":"https://api.github.com/users/matthew-brett/following{/other_user}","gists_url":"https://api.github.com/users/matthew-brett/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-brett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-brett/subscriptions","organizations_url":"https://api.github.com/users/matthew-brett/orgs","repos_url":"https://api.github.com/users/matthew-brett/repos","events_url":"https://api.github.com/users/matthew-brett/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-brett/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T00:50:52Z","updated_at":"2016-07-28T00:50:52Z","body":"@alexvicegrab - would you mind posting an IPython notebook showing the problem (along with the data needed to run it)?  I'd like to fix this in nipy if possible."}}
{"actor":{"display_login":"matthew-brett"}}