{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/PySurfer/issues/159","repository_url":"https://api.github.com/repos/nipy/PySurfer","labels_url":"https://api.github.com/repos/nipy/PySurfer/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/nipy/PySurfer/issues/159/comments","events_url":"https://api.github.com/repos/nipy/PySurfer/issues/159/events","html_url":"https://github.com/nipy/PySurfer/pull/159","id":164688094,"number":159,"title":"NF: added the option to specify alpha transparency for Brain binarized curvature rendering","user":{"login":"ctw","id":1034035,"avatar_url":"https://avatars.githubusercontent.com/u/1034035?v=3","gravatar_id":"","url":"https://api.github.com/users/ctw","html_url":"https://github.com/ctw","followers_url":"https://api.github.com/users/ctw/followers","following_url":"https://api.github.com/users/ctw/following{/other_user}","gists_url":"https://api.github.com/users/ctw/gists{/gist_id}","starred_url":"https://api.github.com/users/ctw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctw/subscriptions","organizations_url":"https://api.github.com/users/ctw/orgs","repos_url":"https://api.github.com/users/ctw/repos","events_url":"https://api.github.com/users/ctw/events{/privacy}","received_events_url":"https://api.github.com/users/ctw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2016-07-09T22:12:14Z","updated_at":"2016-07-18T18:40:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nipy/PySurfer/pulls/159","html_url":"https://github.com/nipy/PySurfer/pull/159","diff_url":"https://github.com/nipy/PySurfer/pull/159.diff","patch_url":"https://github.com/nipy/PySurfer/pull/159.patch"},"body":"I have added the option to specify alpha transparency for Brain binarized curvature rendering. This can be useful when plotting foci in internal structures that are otherwise obscured by the brain surface. I had considered adding an \"alpha\" keyword to the Brain interface, but opted instead to allow for alpha transparency to be specified in the cortex keyword. I've implemented the chance in a way that should ensure backward compatibility with code specifying the cortex keyword as a 4-tuple or string (in these cases alpha defaults to 1.0). Using a new alpha transparency keyword for the Brain constructor might make this feature more accessible and I'm happy to change the implementation accordingly if that's preferred."},"comment":{"url":"https://api.github.com/repos/nipy/PySurfer/issues/comments/233419316","html_url":"https://github.com/nipy/PySurfer/pull/159#issuecomment-233419316","issue_url":"https://api.github.com/repos/nipy/PySurfer/issues/159","id":233419316,"user":{"login":"Eric89GXL","id":2365790,"avatar_url":"https://avatars.githubusercontent.com/u/2365790?v=3","gravatar_id":"","url":"https://api.github.com/users/Eric89GXL","html_url":"https://github.com/Eric89GXL","followers_url":"https://api.github.com/users/Eric89GXL/followers","following_url":"https://api.github.com/users/Eric89GXL/following{/other_user}","gists_url":"https://api.github.com/users/Eric89GXL/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric89GXL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric89GXL/subscriptions","organizations_url":"https://api.github.com/users/Eric89GXL/orgs","repos_url":"https://api.github.com/users/Eric89GXL/repos","events_url":"https://api.github.com/users/Eric89GXL/events{/privacy}","received_events_url":"https://api.github.com/users/Eric89GXL/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T18:40:29Z","updated_at":"2016-07-18T18:40:29Z","body":"Looks like there are a number of [un-covered relevant lines] (https://coveralls.io/builds/7054113/source?filename=surfer%2Fviz.py#L575), can you write some simple tests that at least touch them? Can't really test the output but it can at least make sure some inputs get parsed."}}
{"actor":{"display_login":"Eric89GXL"}}