{"action":"created","comment":{"url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/comments/203366678","pull_request_review_id":138239608,"id":203366678,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzM2NjY3OA==","diff_hunk":"@@ -330,7 +330,7 @@ def _add_colorbar(self, colormap, clim=None, size=(60, 4), height_max=100,\n             rect = [-3 * w / 2, -h, w * 3, 5 * h]\n             camera = scene.cameras.PanZoomCamera(rect=rect)\n             # Create the subplot :\n-            r = 1 if self._hemi in ['lh', 'rh'] else 2\n+            r = 1 if self._hemi in ['lh', 'rh', 'both'] else 2","path":"vismne/viz.py","position":5,"original_position":5,"commit_id":"cd7f9b2ae845acdafd56caf8a9335159918878c5","original_commit_id":"cd7f9b2ae845acdafd56caf8a9335159918878c5","user":{"login":"EtienneCmb","id":15892073,"node_id":"MDQ6VXNlcjE1ODkyMDcz","avatar_url":"https://avatars3.githubusercontent.com/u/15892073?v=4","gravatar_id":"","url":"https://api.github.com/users/EtienneCmb","html_url":"https://github.com/EtienneCmb","followers_url":"https://api.github.com/users/EtienneCmb/followers","following_url":"https://api.github.com/users/EtienneCmb/following{/other_user}","gists_url":"https://api.github.com/users/EtienneCmb/gists{/gist_id}","starred_url":"https://api.github.com/users/EtienneCmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtienneCmb/subscriptions","organizations_url":"https://api.github.com/users/EtienneCmb/orgs","repos_url":"https://api.github.com/users/EtienneCmb/repos","events_url":"https://api.github.com/users/EtienneCmb/events{/privacy}","received_events_url":"https://api.github.com/users/EtienneCmb/received_events","type":"User","site_admin":false},"body":"Yes, if `hemi='split'`. Could be `r = 2 if self._hemi == 'split' else 1`. Could be more explicit","created_at":"2018-07-18T12:55:19Z","updated_at":"2018-07-18T12:55:19Z","html_url":"https://github.com/EtienneCmb/visbrain-mne/pull/7#discussion_r203366678","pull_request_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/7","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/comments/203366678"},"html":{"href":"https://github.com/EtienneCmb/visbrain-mne/pull/7#discussion_r203366678"},"pull_request":{"href":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/7"}},"in_reply_to_id":203363325},"pull_request":{"url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/7","id":202219562,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMjE5NTYy","html_url":"https://github.com/EtienneCmb/visbrain-mne/pull/7","diff_url":"https://github.com/EtienneCmb/visbrain-mne/pull/7.diff","patch_url":"https://github.com/EtienneCmb/visbrain-mne/pull/7.patch","issue_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/issues/7","number":7,"state":"open","locked":false,"title":"Fix off center brain","user":{"login":"EtienneCmb","id":15892073,"node_id":"MDQ6VXNlcjE1ODkyMDcz","avatar_url":"https://avatars3.githubusercontent.com/u/15892073?v=4","gravatar_id":"","url":"https://api.github.com/users/EtienneCmb","html_url":"https://github.com/EtienneCmb","followers_url":"https://api.github.com/users/EtienneCmb/followers","following_url":"https://api.github.com/users/EtienneCmb/following{/other_user}","gists_url":"https://api.github.com/users/EtienneCmb/gists{/gist_id}","starred_url":"https://api.github.com/users/EtienneCmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtienneCmb/subscriptions","organizations_url":"https://api.github.com/users/EtienneCmb/orgs","repos_url":"https://api.github.com/users/EtienneCmb/repos","events_url":"https://api.github.com/users/EtienneCmb/events{/privacy}","received_events_url":"https://api.github.com/users/EtienneCmb/received_events","type":"User","site_admin":false},"body":"The brain is off center because the colorbar was added to the column 2 in case of 'both' hemispheres displayed","created_at":"2018-07-18T11:18:34Z","updated_at":"2018-07-18T12:55:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e9249ae2c709a863fdb9879b3e7c6854f393af8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/7/commits","review_comments_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/7/comments","review_comment_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/issues/7/comments","statuses_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/statuses/cd7f9b2ae845acdafd56caf8a9335159918878c5","head":{"label":"EtienneCmb:fix_offcenter","ref":"fix_offcenter","sha":"cd7f9b2ae845acdafd56caf8a9335159918878c5","user":{"login":"EtienneCmb","id":15892073,"node_id":"MDQ6VXNlcjE1ODkyMDcz","avatar_url":"https://avatars3.githubusercontent.com/u/15892073?v=4","gravatar_id":"","url":"https://api.github.com/users/EtienneCmb","html_url":"https://github.com/EtienneCmb","followers_url":"https://api.github.com/users/EtienneCmb/followers","following_url":"https://api.github.com/users/EtienneCmb/following{/other_user}","gists_url":"https://api.github.com/users/EtienneCmb/gists{/gist_id}","starred_url":"https://api.github.com/users/EtienneCmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtienneCmb/subscriptions","organizations_url":"https://api.github.com/users/EtienneCmb/orgs","repos_url":"https://api.github.com/users/EtienneCmb/repos","events_url":"https://api.github.com/users/EtienneCmb/events{/privacy}","received_events_url":"https://api.github.com/users/EtienneCmb/received_events","type":"User","site_admin":false},"repo":{"id":140361968,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzNjE5Njg=","name":"visbrain-mne","full_name":"EtienneCmb/visbrain-mne","owner":{"login":"EtienneCmb","id":15892073,"node_id":"MDQ6VXNlcjE1ODkyMDcz","avatar_url":"https://avatars3.githubusercontent.com/u/15892073?v=4","gravatar_id":"","url":"https://api.github.com/users/EtienneCmb","html_url":"https://github.com/EtienneCmb","followers_url":"https://api.github.com/users/EtienneCmb/followers","following_url":"https://api.github.com/users/EtienneCmb/following{/other_user}","gists_url":"https://api.github.com/users/EtienneCmb/gists{/gist_id}","starred_url":"https://api.github.com/users/EtienneCmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtienneCmb/subscriptions","organizations_url":"https://api.github.com/users/EtienneCmb/orgs","repos_url":"https://api.github.com/users/EtienneCmb/repos","events_url":"https://api.github.com/users/EtienneCmb/events{/privacy}","received_events_url":"https://api.github.com/users/EtienneCmb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EtienneCmb/visbrain-mne","description":null,"fork":false,"url":"https://api.github.com/repos/EtienneCmb/visbrain-mne","forks_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/forks","keys_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/teams","hooks_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/hooks","issue_events_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/issues/events{/number}","events_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/events","assignees_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/assignees{/user}","branches_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/branches{/branch}","tags_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/tags","blobs_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/git/refs{/sha}","trees_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/statuses/{sha}","languages_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/languages","stargazers_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/stargazers","contributors_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/contributors","subscribers_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/subscribers","subscription_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/subscription","commits_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/commits{/sha}","git_commits_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/git/commits{/sha}","comments_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/comments{/number}","issue_comment_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/issues/comments{/number}","contents_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/contents/{+path}","compare_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/merges","archive_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/downloads","issues_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/issues{/number}","pulls_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls{/number}","milestones_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/milestones{/number}","notifications_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/labels{/name}","releases_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/releases{/id}","deployments_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/deployments","created_at":"2018-07-10T01:42:44Z","updated_at":"2018-07-18T03:04:15Z","pushed_at":"2018-07-18T11:18:35Z","git_url":"git://github.com/EtienneCmb/visbrain-mne.git","ssh_url":"git@github.com:EtienneCmb/visbrain-mne.git","clone_url":"https://github.com/EtienneCmb/visbrain-mne.git","svn_url":"https://github.com/EtienneCmb/visbrain-mne","homepage":null,"size":136,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"EtienneCmb:master","ref":"master","sha":"fb47e9491854e1b8931870d00fe7567f26b99511","user":{"login":"EtienneCmb","id":15892073,"node_id":"MDQ6VXNlcjE1ODkyMDcz","avatar_url":"https://avatars3.githubusercontent.com/u/15892073?v=4","gravatar_id":"","url":"https://api.github.com/users/EtienneCmb","html_url":"https://github.com/EtienneCmb","followers_url":"https://api.github.com/users/EtienneCmb/followers","following_url":"https://api.github.com/users/EtienneCmb/following{/other_user}","gists_url":"https://api.github.com/users/EtienneCmb/gists{/gist_id}","starred_url":"https://api.github.com/users/EtienneCmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtienneCmb/subscriptions","organizations_url":"https://api.github.com/users/EtienneCmb/orgs","repos_url":"https://api.github.com/users/EtienneCmb/repos","events_url":"https://api.github.com/users/EtienneCmb/events{/privacy}","received_events_url":"https://api.github.com/users/EtienneCmb/received_events","type":"User","site_admin":false},"repo":{"id":140361968,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzNjE5Njg=","name":"visbrain-mne","full_name":"EtienneCmb/visbrain-mne","owner":{"login":"EtienneCmb","id":15892073,"node_id":"MDQ6VXNlcjE1ODkyMDcz","avatar_url":"https://avatars3.githubusercontent.com/u/15892073?v=4","gravatar_id":"","url":"https://api.github.com/users/EtienneCmb","html_url":"https://github.com/EtienneCmb","followers_url":"https://api.github.com/users/EtienneCmb/followers","following_url":"https://api.github.com/users/EtienneCmb/following{/other_user}","gists_url":"https://api.github.com/users/EtienneCmb/gists{/gist_id}","starred_url":"https://api.github.com/users/EtienneCmb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtienneCmb/subscriptions","organizations_url":"https://api.github.com/users/EtienneCmb/orgs","repos_url":"https://api.github.com/users/EtienneCmb/repos","events_url":"https://api.github.com/users/EtienneCmb/events{/privacy}","received_events_url":"https://api.github.com/users/EtienneCmb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EtienneCmb/visbrain-mne","description":null,"fork":false,"url":"https://api.github.com/repos/EtienneCmb/visbrain-mne","forks_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/forks","keys_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/teams","hooks_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/hooks","issue_events_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/issues/events{/number}","events_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/events","assignees_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/assignees{/user}","branches_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/branches{/branch}","tags_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/tags","blobs_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/git/refs{/sha}","trees_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/statuses/{sha}","languages_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/languages","stargazers_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/stargazers","contributors_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/contributors","subscribers_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/subscribers","subscription_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/subscription","commits_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/commits{/sha}","git_commits_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/git/commits{/sha}","comments_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/comments{/number}","issue_comment_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/issues/comments{/number}","contents_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/contents/{+path}","compare_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/merges","archive_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/downloads","issues_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/issues{/number}","pulls_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls{/number}","milestones_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/milestones{/number}","notifications_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/labels{/name}","releases_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/releases{/id}","deployments_url":"https://api.github.com/repos/EtienneCmb/visbrain-mne/deployments","created_at":"2018-07-10T01:42:44Z","updated_at":"2018-07-18T03:04:15Z","pushed_at":"2018-07-18T11:18:35Z","git_url":"git://github.com/EtienneCmb/visbrain-mne.git","ssh_url":"git@github.com:EtienneCmb/visbrain-mne.git","clone_url":"https://github.com/EtienneCmb/visbrain-mne.git","svn_url":"https://github.com/EtienneCmb/visbrain-mne","homepage":null,"size":136,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/7"},"html":{"href":"https://github.com/EtienneCmb/visbrain-mne/pull/7"},"issue":{"href":"https://api.github.com/repos/EtienneCmb/visbrain-mne/issues/7"},"comments":{"href":"https://api.github.com/repos/EtienneCmb/visbrain-mne/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EtienneCmb/visbrain-mne/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/EtienneCmb/visbrain-mne/statuses/cd7f9b2ae845acdafd56caf8a9335159918878c5"}},"author_association":"OWNER"}}
{"actor":{"display_login":"EtienneCmb"}}