{"action":"created","comment":{"url":"https://api.github.com/repos/neurodata/ndmg/pulls/comments/357811352","pull_request_review_id":332088209,"id":357811352,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1NzgxMTM1Mg==","diff_hunk":"@@ -213,16 +235,35 @@ def plot_overlays(atlas, b0, cmaps=None, minthr=2, maxthr=95, edge=False):\n                 image = edge_map(image).data\n                 image[image > 0] = max_val\n                 image[image == 0] = min_val\n-\n+            #Set the axis invisible\n+            plt.xticks([])\n+            plt.yticks([])\n+            \n+            #Set the frame invisible\n+            ax.spines['top'].set_visible(False)\n+            ax.spines['right'].set_visible(False)\n+            ax.spines['bottom'].set_visible(False)\n+            ax.spines['left'].set_visible(False)\n+            \n             ax.imshow(atl, interpolation=\"none\", cmap=cmaps[0], alpha=0.9)\n             ax.imshow(\n                 opaque_colorscale(\n                     cmaps[1], image, alpha=0.9, vmin=min_val, vmax=max_val\n                 )\n             )\n-\n+            \n+            #set the legend\n+            if idx == 3:\n+                plt.plot(0,0,\"-\",c=\"pink\",label='registered')\n+                plt.plot(0,0,\"-\",c=\"green\",label='reference')\n+                plt.legend(loc='best',fontsize=12,bbox_to_anchor=(1.5,1.5))\n+            \n+    #Set title for the whole picture\n+    [a,b,c] = shap\n+    title = 'QA For Registration\\n\\nVolume:'+ str(a) +'*'+ str(b) + '*' + str(c)+'\\n'\n+    foverlay.suptitle(title,fontsize=24)","path":"ndmg/stats/qa_reg.py","position":null,"original_position":154,"commit_id":"3be6eafbddb55f52d9bb5ed4b5df981b975ac532","original_commit_id":"8c4e44a3a26d9d5bf014bdfe8b930c4524f22ea5","user":{"login":"FangCai-fifi","id":54511589,"node_id":"MDQ6VXNlcjU0NTExNTg5","avatar_url":"https://avatars0.githubusercontent.com/u/54511589?v=4","gravatar_id":"","url":"https://api.github.com/users/FangCai-fifi","html_url":"https://github.com/FangCai-fifi","followers_url":"https://api.github.com/users/FangCai-fifi/followers","following_url":"https://api.github.com/users/FangCai-fifi/following{/other_user}","gists_url":"https://api.github.com/users/FangCai-fifi/gists{/gist_id}","starred_url":"https://api.github.com/users/FangCai-fifi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FangCai-fifi/subscriptions","organizations_url":"https://api.github.com/users/FangCai-fifi/orgs","repos_url":"https://api.github.com/users/FangCai-fifi/repos","events_url":"https://api.github.com/users/FangCai-fifi/events{/privacy}","received_events_url":"https://api.github.com/users/FangCai-fifi/received_events","type":"User","site_admin":false},"body":"see https://github.com/neurodata/ndmg/pull/372/commits/0d0f1fcea693deac7062a337bbabd64c3262d7a7\r\n\r\nI changed the variable \"shap\" to \"brain_volume\" to be specific.\r\nThis commit contains not just the change of variable name \"shap\". I'm sorry to trouble you with finding the changes","created_at":"2019-12-13T20:03:06Z","updated_at":"2019-12-13T20:03:06Z","html_url":"https://github.com/neurodata/ndmg/pull/372#discussion_r357811352","pull_request_url":"https://api.github.com/repos/neurodata/ndmg/pulls/372","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/neurodata/ndmg/pulls/comments/357811352"},"html":{"href":"https://github.com/neurodata/ndmg/pull/372#discussion_r357811352"},"pull_request":{"href":"https://api.github.com/repos/neurodata/ndmg/pulls/372"}},"in_reply_to_id":355679541},"pull_request":{"url":"https://api.github.com/repos/neurodata/ndmg/pulls/372","id":350115289,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUwMTE1Mjg5","html_url":"https://github.com/neurodata/ndmg/pull/372","diff_url":"https://github.com/neurodata/ndmg/pull/372.diff","patch_url":"https://github.com/neurodata/ndmg/pull/372.patch","issue_url":"https://api.github.com/repos/neurodata/ndmg/issues/372","number":372,"state":"open","locked":false,"title":"Test qa registration pr","user":{"login":"FangCai-fifi","id":54511589,"node_id":"MDQ6VXNlcjU0NTExNTg5","avatar_url":"https://avatars0.githubusercontent.com/u/54511589?v=4","gravatar_id":"","url":"https://api.github.com/users/FangCai-fifi","html_url":"https://github.com/FangCai-fifi","followers_url":"https://api.github.com/users/FangCai-fifi/followers","following_url":"https://api.github.com/users/FangCai-fifi/following{/other_user}","gists_url":"https://api.github.com/users/FangCai-fifi/gists{/gist_id}","starred_url":"https://api.github.com/users/FangCai-fifi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FangCai-fifi/subscriptions","organizations_url":"https://api.github.com/users/FangCai-fifi/orgs","repos_url":"https://api.github.com/users/FangCai-fifi/repos","events_url":"https://api.github.com/users/FangCai-fifi/events{/privacy}","received_events_url":"https://api.github.com/users/FangCai-fifi/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-12-06T17:19:35Z","updated_at":"2019-12-13T20:03:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ca56c1a1a568ecc2add08e63e50ddc4994906db","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/neurodata/ndmg/pulls/372/commits","review_comments_url":"https://api.github.com/repos/neurodata/ndmg/pulls/372/comments","review_comment_url":"https://api.github.com/repos/neurodata/ndmg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neurodata/ndmg/issues/372/comments","statuses_url":"https://api.github.com/repos/neurodata/ndmg/statuses/3be6eafbddb55f52d9bb5ed4b5df981b975ac532","head":{"label":"NeuroDataDesign:test_qa_registration_pr","ref":"test_qa_registration_pr","sha":"3be6eafbddb55f52d9bb5ed4b5df981b975ac532","user":{"login":"NeuroDataDesign","id":21062658,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDYyNjU4","avatar_url":"https://avatars0.githubusercontent.com/u/21062658?v=4","gravatar_id":"","url":"https://api.github.com/users/NeuroDataDesign","html_url":"https://github.com/NeuroDataDesign","followers_url":"https://api.github.com/users/NeuroDataDesign/followers","following_url":"https://api.github.com/users/NeuroDataDesign/following{/other_user}","gists_url":"https://api.github.com/users/NeuroDataDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/NeuroDataDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeuroDataDesign/subscriptions","organizations_url":"https://api.github.com/users/NeuroDataDesign/orgs","repos_url":"https://api.github.com/users/NeuroDataDesign/repos","events_url":"https://api.github.com/users/NeuroDataDesign/events{/privacy}","received_events_url":"https://api.github.com/users/NeuroDataDesign/received_events","type":"Organization","site_admin":false},"repo":{"id":147844585,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4NDQ1ODU=","name":"ndmg","full_name":"NeuroDataDesign/ndmg","private":false,"owner":{"login":"NeuroDataDesign","id":21062658,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDYyNjU4","avatar_url":"https://avatars0.githubusercontent.com/u/21062658?v=4","gravatar_id":"","url":"https://api.github.com/users/NeuroDataDesign","html_url":"https://github.com/NeuroDataDesign","followers_url":"https://api.github.com/users/NeuroDataDesign/followers","following_url":"https://api.github.com/users/NeuroDataDesign/following{/other_user}","gists_url":"https://api.github.com/users/NeuroDataDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/NeuroDataDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeuroDataDesign/subscriptions","organizations_url":"https://api.github.com/users/NeuroDataDesign/orgs","repos_url":"https://api.github.com/users/NeuroDataDesign/repos","events_url":"https://api.github.com/users/NeuroDataDesign/events{/privacy}","received_events_url":"https://api.github.com/users/NeuroDataDesign/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NeuroDataDesign/ndmg","description":"NeuroData's MRI Graphs (ndmg) - structural connectome estimation package and pipeline","fork":true,"url":"https://api.github.com/repos/NeuroDataDesign/ndmg","forks_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/forks","keys_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/teams","hooks_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/hooks","issue_events_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/issues/events{/number}","events_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/events","assignees_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/assignees{/user}","branches_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/branches{/branch}","tags_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/tags","blobs_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/git/refs{/sha}","trees_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/statuses/{sha}","languages_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/languages","stargazers_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/stargazers","contributors_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/contributors","subscribers_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/subscribers","subscription_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/subscription","commits_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/commits{/sha}","git_commits_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/git/commits{/sha}","comments_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/comments{/number}","issue_comment_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/issues/comments{/number}","contents_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/contents/{+path}","compare_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/merges","archive_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/downloads","issues_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/issues{/number}","pulls_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/pulls{/number}","milestones_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/milestones{/number}","notifications_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/labels{/name}","releases_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/releases{/id}","deployments_url":"https://api.github.com/repos/NeuroDataDesign/ndmg/deployments","created_at":"2018-09-07T15:51:26Z","updated_at":"2019-10-25T02:30:19Z","pushed_at":"2019-12-13T19:57:27Z","git_url":"git://github.com/NeuroDataDesign/ndmg.git","ssh_url":"git@github.com:NeuroDataDesign/ndmg.git","clone_url":"https://github.com/NeuroDataDesign/ndmg.git","svn_url":"https://github.com/NeuroDataDesign/ndmg","homepage":"http://m2g.io","size":344299,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":5,"watchers":0,"default_branch":"deploy"}},"base":{"label":"neurodata:staging-tmp","ref":"staging-tmp","sha":"4beb516564e59878342f6a98d637c18900c8d5be","user":{"login":"neurodata","id":13474594,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDc0NTk0","avatar_url":"https://avatars0.githubusercontent.com/u/13474594?v=4","gravatar_id":"","url":"https://api.github.com/users/neurodata","html_url":"https://github.com/neurodata","followers_url":"https://api.github.com/users/neurodata/followers","following_url":"https://api.github.com/users/neurodata/following{/other_user}","gists_url":"https://api.github.com/users/neurodata/gists{/gist_id}","starred_url":"https://api.github.com/users/neurodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neurodata/subscriptions","organizations_url":"https://api.github.com/users/neurodata/orgs","repos_url":"https://api.github.com/users/neurodata/repos","events_url":"https://api.github.com/users/neurodata/events{/privacy}","received_events_url":"https://api.github.com/users/neurodata/received_events","type":"Organization","site_admin":false},"repo":{"id":50844757,"node_id":"MDEwOlJlcG9zaXRvcnk1MDg0NDc1Nw==","name":"ndmg","full_name":"neurodata/ndmg","private":false,"owner":{"login":"neurodata","id":13474594,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDc0NTk0","avatar_url":"https://avatars0.githubusercontent.com/u/13474594?v=4","gravatar_id":"","url":"https://api.github.com/users/neurodata","html_url":"https://github.com/neurodata","followers_url":"https://api.github.com/users/neurodata/followers","following_url":"https://api.github.com/users/neurodata/following{/other_user}","gists_url":"https://api.github.com/users/neurodata/gists{/gist_id}","starred_url":"https://api.github.com/users/neurodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neurodata/subscriptions","organizations_url":"https://api.github.com/users/neurodata/orgs","repos_url":"https://api.github.com/users/neurodata/repos","events_url":"https://api.github.com/users/neurodata/events{/privacy}","received_events_url":"https://api.github.com/users/neurodata/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/neurodata/ndmg","description":"NeuroData's MRI Graphs (ndmg) - structural connectome estimation package and pipeline","fork":false,"url":"https://api.github.com/repos/neurodata/ndmg","forks_url":"https://api.github.com/repos/neurodata/ndmg/forks","keys_url":"https://api.github.com/repos/neurodata/ndmg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neurodata/ndmg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neurodata/ndmg/teams","hooks_url":"https://api.github.com/repos/neurodata/ndmg/hooks","issue_events_url":"https://api.github.com/repos/neurodata/ndmg/issues/events{/number}","events_url":"https://api.github.com/repos/neurodata/ndmg/events","assignees_url":"https://api.github.com/repos/neurodata/ndmg/assignees{/user}","branches_url":"https://api.github.com/repos/neurodata/ndmg/branches{/branch}","tags_url":"https://api.github.com/repos/neurodata/ndmg/tags","blobs_url":"https://api.github.com/repos/neurodata/ndmg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neurodata/ndmg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neurodata/ndmg/git/refs{/sha}","trees_url":"https://api.github.com/repos/neurodata/ndmg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neurodata/ndmg/statuses/{sha}","languages_url":"https://api.github.com/repos/neurodata/ndmg/languages","stargazers_url":"https://api.github.com/repos/neurodata/ndmg/stargazers","contributors_url":"https://api.github.com/repos/neurodata/ndmg/contributors","subscribers_url":"https://api.github.com/repos/neurodata/ndmg/subscribers","subscription_url":"https://api.github.com/repos/neurodata/ndmg/subscription","commits_url":"https://api.github.com/repos/neurodata/ndmg/commits{/sha}","git_commits_url":"https://api.github.com/repos/neurodata/ndmg/git/commits{/sha}","comments_url":"https://api.github.com/repos/neurodata/ndmg/comments{/number}","issue_comment_url":"https://api.github.com/repos/neurodata/ndmg/issues/comments{/number}","contents_url":"https://api.github.com/repos/neurodata/ndmg/contents/{+path}","compare_url":"https://api.github.com/repos/neurodata/ndmg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neurodata/ndmg/merges","archive_url":"https://api.github.com/repos/neurodata/ndmg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neurodata/ndmg/downloads","issues_url":"https://api.github.com/repos/neurodata/ndmg/issues{/number}","pulls_url":"https://api.github.com/repos/neurodata/ndmg/pulls{/number}","milestones_url":"https://api.github.com/repos/neurodata/ndmg/milestones{/number}","notifications_url":"https://api.github.com/repos/neurodata/ndmg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neurodata/ndmg/labels{/name}","releases_url":"https://api.github.com/repos/neurodata/ndmg/releases{/id}","deployments_url":"https://api.github.com/repos/neurodata/ndmg/deployments","created_at":"2016-02-01T14:30:12Z","updated_at":"2019-10-31T15:29:53Z","pushed_at":"2019-12-13T19:57:28Z","git_url":"git://github.com/neurodata/ndmg.git","ssh_url":"git@github.com:neurodata/ndmg.git","clone_url":"https://github.com/neurodata/ndmg.git","svn_url":"https://github.com/neurodata/ndmg","homepage":"https://neurodata.io/ndmg/","size":65674,"stargazers_count":35,"watchers_count":35,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":39,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":26,"open_issues":39,"watchers":35,"default_branch":"deploy"}},"_links":{"self":{"href":"https://api.github.com/repos/neurodata/ndmg/pulls/372"},"html":{"href":"https://github.com/neurodata/ndmg/pull/372"},"issue":{"href":"https://api.github.com/repos/neurodata/ndmg/issues/372"},"comments":{"href":"https://api.github.com/repos/neurodata/ndmg/issues/372/comments"},"review_comments":{"href":"https://api.github.com/repos/neurodata/ndmg/pulls/372/comments"},"review_comment":{"href":"https://api.github.com/repos/neurodata/ndmg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neurodata/ndmg/pulls/372/commits"},"statuses":{"href":"https://api.github.com/repos/neurodata/ndmg/statuses/3be6eafbddb55f52d9bb5ed4b5df981b975ac532"}},"author_association":"NONE"}}
{"actor":{"display_login":"FangCai-fifi"}}