GitHub PullRequestEvent at 2014-01-20 21:26:24
Repository: PySurfer
Actor: mwaskom
Payload: {"action":"closed","number":84,"pull_request":{"url":"https://api.github.com/repos/nipy/PySurfer/pulls/84","id":11662256,"html_url":"https://github.com/nipy/PySurfer/pull/84","diff_url":"https://github.com/nipy/PySurfer/pull/84.diff","patch_url":"https://github.com/nipy/PySurfer/pull/84.patch","issue_url":"https://github.com/nipy/PySurfer/pull/84","number":84,"state":"closed","title":"ENH montage:  add 2d grid option","user":{"login":"christianmbrodbeck","id":145771,"avatar_url":"https://gravatar.com/avatar/e2965d97f2ecb5b43c3459bf3d09a383?d=https%3A%2F%2Fidenticons.github.com%2F208c406615012b2d3a278507a9dc4cb2.png&r=x","gravatar_id":"e2965d97f2ecb5b43c3459bf3d09a383","url":"https://api.github.com/users/christianmbrodbeck","html_url":"https://github.com/christianmbrodbeck","followers_url":"https://api.github.com/users/christianmbrodbeck/followers","following_url":"https://api.github.com/users/christianmbrodbeck/following{/other_user}","gists_url":"https://api.github.com/users/christianmbrodbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/christianmbrodbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianmbrodbeck/subscriptions","organizations_url":"https://api.github.com/users/christianmbrodbeck/orgs","repos_url":"https://api.github.com/users/christianmbrodbeck/repos","events_url":"https://api.github.com/users/christianmbrodbeck/events{/privacy}","received_events_url":"https://api.github.com/users/christianmbrodbeck/received_events","type":"User","site_admin":false},"body":"First step following up on discussion in https://github.com/nipy/PySurfer/pull/79 to add to make_montage the capability to create 2d grids\r\n\r\n```python\r\nimport surfer\r\n\r\nsubject_id = 'fsaverage'\r\nstd_args = [subject_id, 'lh', 'inflated']\r\nsmall_brain = dict(size=100, width=500, height=500)\r\n\r\nbrain = surfer.Brain(*std_args, config_opts=small_brain)\r\n\r\nbrain.save_montage(\"test_2d.png\", [['l', 'v'], ['m', 'f']])\r\n```\r\n![test_2d](https://f.cloud.github.com/assets/145771/1951507/c9295d86-8181-11e3-9985-aa20ac85e3bb.png)\r\n","created_at":"2014-01-20T03:21:16Z","updated_at":"2014-01-20T21:26:24Z","closed_at":"2014-01-20T21:26:24Z","merged_at":"2014-01-20T21:26:24Z","merge_commit_sha":"e4917e72d530e6eec527f3b9ef4351dba3138b5a","assignee":null,"milestone":null,"commits_url":"https://github.com/nipy/PySurfer/pull/84/commits","review_comments_url":"https://github.com/nipy/PySurfer/pull/84/comments","review_comment_url":"/repos/nipy/PySurfer/pulls/comments/{number}","comments_url":"https://api.github.com/repos/nipy/PySurfer/issues/84/comments","statuses_url":"https://api.github.com/repos/nipy/PySurfer/statuses/4ffbed1d25a2e18f84014f77f376417dac686f3a","head":{"label":"christianmbrodbeck:montage","ref":"montage","sha":"4ffbed1d25a2e18f84014f77f376417dac686f3a","user":{"login":"christianmbrodbeck","id":145771,"avatar_url":"https://gravatar.com/avatar/e2965d97f2ecb5b43c3459bf3d09a383?d=https%3A%2F%2Fidenticons.github.com%2F208c406615012b2d3a278507a9dc4cb2.png&r=x","gravatar_id":"e2965d97f2ecb5b43c3459bf3d09a383","url":"https://api.github.com/users/christianmbrodbeck","html_url":"https://github.com/christianmbrodbeck","followers_url":"https://api.github.com/users/christianmbrodbeck/followers","following_url":"https://api.github.com/users/christianmbrodbeck/following{/other_user}","gists_url":"https://api.github.com/users/christianmbrodbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/christianmbrodbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianmbrodbeck/subscriptions","organizations_url":"https://api.github.com/users/christianmbrodbeck/orgs","repos_url":"https://api.github.com/users/christianmbrodbeck/repos","events_url":"https://api.github.com/users/christianmbrodbeck/events{/privacy}","received_events_url":"https://api.github.com/users/christianmbrodbeck/received_events","type":"User","site_admin":false},"repo":{"id":5653225,"name":"PySurfer","full_name":"christianmbrodbeck/PySurfer","owner":{"login":"christianmbrodbeck","id":145771,"avatar_url":"https://gravatar.com/avatar/e2965d97f2ecb5b43c3459bf3d09a383?d=https%3A%2F%2Fidenticons.github.com%2F208c406615012b2d3a278507a9dc4cb2.png&r=x","gravatar_id":"e2965d97f2ecb5b43c3459bf3d09a383","url":"https://api.github.com/users/christianmbrodbeck","html_url":"https://github.com/christianmbrodbeck","followers_url":"https://api.github.com/users/christianmbrodbeck/followers","following_url":"https://api.github.com/users/christianmbrodbeck/following{/other_user}","gists_url":"https://api.github.com/users/christianmbrodbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/christianmbrodbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianmbrodbeck/subscriptions","organizations_url":"https://api.github.com/users/christianmbrodbeck/orgs","repos_url":"https://api.github.com/users/christianmbrodbeck/repos","events_url":"https://api.github.com/users/christianmbrodbeck/events{/privacy}","received_events_url":"https://api.github.com/users/christianmbrodbeck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christianmbrodbeck/PySurfer","description":"Python tools for Freesurfer","fork":true,"url":"https://api.github.com/repos/christianmbrodbeck/PySurfer","forks_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/forks","keys_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/teams","hooks_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/hooks","issue_events_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/issues/events{/number}","events_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/events","assignees_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/assignees{/user}","branches_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/branches{/branch}","tags_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/tags","blobs_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/git/refs{/sha}","trees_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/statuses/{sha}","languages_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/languages","stargazers_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/stargazers","contributors_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/contributors","subscribers_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/subscribers","subscription_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/subscription","commits_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/commits{/sha}","git_commits_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/git/commits{/sha}","comments_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/comments{/number}","issue_comment_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/issues/comments/{number}","contents_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/contents/{+path}","compare_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/merges","archive_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/downloads","issues_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/issues{/number}","pulls_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/pulls{/number}","milestones_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/milestones{/number}","notifications_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/labels{/name}","releases_url":"https://api.github.com/repos/christianmbrodbeck/PySurfer/releases{/id}","created_at":"2012-09-03T01:07:34Z","updated_at":"2014-01-20T21:26:24Z","pushed_at":"2014-01-20T03:28:23Z","git_url":"git://github.com/christianmbrodbeck/PySurfer.git","ssh_url":"git@github.com:christianmbrodbeck/PySurfer.git","clone_url":"https://github.com/christianmbrodbeck/PySurfer.git","svn_url":"https://github.com/christianmbrodbeck/PySurfer","homepage":"http://pysurfer.github.com","size":4867,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"nipy:master","ref":"master","sha":"d295bfbe2f7dbd9ec775b3261dce796e9ecdb558","user":{"login":"nipy","id":233707,"avatar_url":"https://gravatar.com/avatar/0fb4618f739b0e9b1d35a7560963a205?d=https%3A%2F%2Fidenticons.github.com%2Fc7ce42199cee7f0c61174f015a9ea64a.png&r=x","gravatar_id":"0fb4618f739b0e9b1d35a7560963a205","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"repo":{"id":1551431,"name":"PySurfer","full_name":"nipy/PySurfer","owner":{"login":"nipy","id":233707,"avatar_url":"https://gravatar.com/avatar/0fb4618f739b0e9b1d35a7560963a205?d=https%3A%2F%2Fidenticons.github.com%2Fc7ce42199cee7f0c61174f015a9ea64a.png&r=x","gravatar_id":"0fb4618f739b0e9b1d35a7560963a205","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nipy/PySurfer","description":"Python tools for Freesurfer","fork":false,"url":"https://api.github.com/repos/nipy/PySurfer","forks_url":"https://api.github.com/repos/nipy/PySurfer/forks","keys_url":"https://api.github.com/repos/nipy/PySurfer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nipy/PySurfer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nipy/PySurfer/teams","hooks_url":"https://api.github.com/repos/nipy/PySurfer/hooks","issue_events_url":"https://api.github.com/repos/nipy/PySurfer/issues/events{/number}","events_url":"https://api.github.com/repos/nipy/PySurfer/events","assignees_url":"https://api.github.com/repos/nipy/PySurfer/assignees{/user}","branches_url":"https://api.github.com/repos/nipy/PySurfer/branches{/branch}","tags_url":"https://api.github.com/repos/nipy/PySurfer/tags","blobs_url":"https://api.github.com/repos/nipy/PySurfer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nipy/PySurfer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nipy/PySurfer/git/refs{/sha}","trees_url":"https://api.github.com/repos/nipy/PySurfer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nipy/PySurfer/statuses/{sha}","languages_url":"https://api.github.com/repos/nipy/PySurfer/languages","stargazers_url":"https://api.github.com/repos/nipy/PySurfer/stargazers","contributors_url":"https://api.github.com/repos/nipy/PySurfer/contributors","subscribers_url":"https://api.github.com/repos/nipy/PySurfer/subscribers","subscription_url":"https://api.github.com/repos/nipy/PySurfer/subscription","commits_url":"https://api.github.com/repos/nipy/PySurfer/commits{/sha}","git_commits_url":"https://api.github.com/repos/nipy/PySurfer/git/commits{/sha}","comments_url":"https://api.github.com/repos/nipy/PySurfer/comments{/number}","issue_comment_url":"https://api.github.com/repos/nipy/PySurfer/issues/comments/{number}","contents_url":"https://api.github.com/repos/nipy/PySurfer/contents/{+path}","compare_url":"https://api.github.com/repos/nipy/PySurfer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nipy/PySurfer/merges","archive_url":"https://api.github.com/repos/nipy/PySurfer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nipy/PySurfer/downloads","issues_url":"https://api.github.com/repos/nipy/PySurfer/issues{/number}","pulls_url":"https://api.github.com/repos/nipy/PySurfer/pulls{/number}","milestones_url":"https://api.github.com/repos/nipy/PySurfer/milestones{/number}","notifications_url":"https://api.github.com/repos/nipy/PySurfer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nipy/PySurfer/labels{/name}","releases_url":"https://api.github.com/repos/nipy/PySurfer/releases{/id}","created_at":"2011-03-31T15:30:51Z","updated_at":"2014-01-20T21:26:24Z","pushed_at":"2014-01-20T21:26:24Z","git_url":"git://github.com/nipy/PySurfer.git","ssh_url":"git@github.com:nipy/PySurfer.git","clone_url":"https://github.com/nipy/PySurfer.git","svn_url":"https://github.com/nipy/PySurfer","homepage":"http://pysurfer.github.com","size":19781,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":23,"mirror_url":null,"open_issues_count":7,"forks":23,"open_issues":7,"watchers":26,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nipy/PySurfer/pulls/84"},"html":{"href":"https://github.com/nipy/PySurfer/pull/84"},"issue":{"href":"https://api.github.com/repos/nipy/PySurfer/issues/84"},"comments":{"href":"https://api.github.com/repos/nipy/PySurfer/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/nipy/PySurfer/pulls/84/comments"},"statuses":{"href":"https://api.github.com/repos/nipy/PySurfer/statuses/4ffbed1d25a2e18f84014f77f376417dac686f3a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mwaskom","id":315810,"avatar_url":"https://gravatar.com/avatar/7cd43cc3fa88edc6f2dbdad5fcbc85c1?d=https%3A%2F%2Fidenticons.github.com%2Fa01afaef958e3d54660603ac68e3f490.png&r=x","gravatar_id":"7cd43cc3fa88edc6f2dbdad5fcbc85c1","url":"https://api.github.com/users/mwaskom","html_url":"https://github.com/mwaskom","followers_url":"https://api.github.com/users/mwaskom/followers","following_url":"https://api.github.com/users/mwaskom/following{/other_user}","gists_url":"https://api.github.com/users/mwaskom/gists{/gist_id}","starred_url":"https://api.github.com/users/mwaskom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwaskom/subscriptions","organizations_url":"https://api.github.com/users/mwaskom/orgs","repos_url":"https://api.github.com/users/mwaskom/repos","events_url":"https://api.github.com/users/mwaskom/events{/privacy}","received_events_url":"https://api.github.com/users/mwaskom/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":2,"additions":56,"deletions":25,"changed_files":3}}