{"action":"created","comment":{"url":"https://api.github.com/repos/nilearn/nilearn/pulls/comments/24156894","id":24156894,"diff_hunk":"@@ -20,13 +20,11 @@\n def plot_matrices(cov, prec, title):\n     \"\"\"Plot covariance and precision matrices, for a given processing. \"\"\"\n \n+    # Compute sparsity pattern\n+    sparsity = prec == 0","path":"examples/connectivity/plot_adhd_covariance.py","position":5,"original_position":5,"commit_id":"2c4ffe8ac032fff75ab9732b274c7675f8ad9921","original_commit_id":"2c4ffe8ac032fff75ab9732b274c7675f8ad9921","user":{"login":"AlexandreAbraham","id":1647301,"avatar_url":"https://avatars.githubusercontent.com/u/1647301?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexandreAbraham","html_url":"https://github.com/AlexandreAbraham","followers_url":"https://api.github.com/users/AlexandreAbraham/followers","following_url":"https://api.github.com/users/AlexandreAbraham/following{/other_user}","gists_url":"https://api.github.com/users/AlexandreAbraham/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexandreAbraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexandreAbraham/subscriptions","organizations_url":"https://api.github.com/users/AlexandreAbraham/orgs","repos_url":"https://api.github.com/users/AlexandreAbraham/repos","events_url":"https://api.github.com/users/AlexandreAbraham/events{/privacy}","received_events_url":"https://api.github.com/users/AlexandreAbraham/received_events","type":"User","site_admin":false},"body":"I know that it was the code but I think that `sparsity = (prec == 0)` is clearer.","created_at":"2015-02-05T11:19:31Z","updated_at":"2015-02-05T11:19:31Z","html_url":"https://github.com/nilearn/nilearn/pull/394#discussion_r24156894","pull_request_url":"https://api.github.com/repos/nilearn/nilearn/pulls/394","_links":{"self":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/comments/24156894"},"html":{"href":"https://github.com/nilearn/nilearn/pull/394#discussion_r24156894"},"pull_request":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/394"}}},"pull_request":{"url":"https://api.github.com/repos/nilearn/nilearn/pulls/394","id":28715824,"html_url":"https://github.com/nilearn/nilearn/pull/394","diff_url":"https://github.com/nilearn/nilearn/pull/394.diff","patch_url":"https://github.com/nilearn/nilearn/pull/394.patch","issue_url":"https://api.github.com/repos/nilearn/nilearn/issues/394","number":394,"state":"open","locked":false,"title":"Small documentation fixes","user":{"login":"kshmelkov","id":10819534,"avatar_url":"https://avatars.githubusercontent.com/u/10819534?v=3","gravatar_id":"","url":"https://api.github.com/users/kshmelkov","html_url":"https://github.com/kshmelkov","followers_url":"https://api.github.com/users/kshmelkov/followers","following_url":"https://api.github.com/users/kshmelkov/following{/other_user}","gists_url":"https://api.github.com/users/kshmelkov/gists{/gist_id}","starred_url":"https://api.github.com/users/kshmelkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshmelkov/subscriptions","organizations_url":"https://api.github.com/users/kshmelkov/orgs","repos_url":"https://api.github.com/users/kshmelkov/repos","events_url":"https://api.github.com/users/kshmelkov/events{/privacy}","received_events_url":"https://api.github.com/users/kshmelkov/received_events","type":"User","site_admin":false},"body":"Reordering of images in the example to change its thumbnail (fix #373).\r\n\r\nUgly sideimages are rewritten on separate lines (fix #372).","created_at":"2015-02-05T11:06:13Z","updated_at":"2015-02-05T11:19:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc16c137ca2e8455a3615caf0c64e76fadce61c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nilearn/nilearn/pulls/394/commits","review_comments_url":"https://api.github.com/repos/nilearn/nilearn/pulls/394/comments","review_comment_url":"https://api.github.com/repos/nilearn/nilearn/pulls/comments/{number}","comments_url":"https://api.github.com/repos/nilearn/nilearn/issues/394/comments","statuses_url":"https://api.github.com/repos/nilearn/nilearn/statuses/2c4ffe8ac032fff75ab9732b274c7675f8ad9921","head":{"label":"kshmelkov:master","ref":"master","sha":"2c4ffe8ac032fff75ab9732b274c7675f8ad9921","user":{"login":"kshmelkov","id":10819534,"avatar_url":"https://avatars.githubusercontent.com/u/10819534?v=3","gravatar_id":"","url":"https://api.github.com/users/kshmelkov","html_url":"https://github.com/kshmelkov","followers_url":"https://api.github.com/users/kshmelkov/followers","following_url":"https://api.github.com/users/kshmelkov/following{/other_user}","gists_url":"https://api.github.com/users/kshmelkov/gists{/gist_id}","starred_url":"https://api.github.com/users/kshmelkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshmelkov/subscriptions","organizations_url":"https://api.github.com/users/kshmelkov/orgs","repos_url":"https://api.github.com/users/kshmelkov/repos","events_url":"https://api.github.com/users/kshmelkov/events{/privacy}","received_events_url":"https://api.github.com/users/kshmelkov/received_events","type":"User","site_admin":false},"repo":{"id":30347144,"name":"nilearn","full_name":"kshmelkov/nilearn","owner":{"login":"kshmelkov","id":10819534,"avatar_url":"https://avatars.githubusercontent.com/u/10819534?v=3","gravatar_id":"","url":"https://api.github.com/users/kshmelkov","html_url":"https://github.com/kshmelkov","followers_url":"https://api.github.com/users/kshmelkov/followers","following_url":"https://api.github.com/users/kshmelkov/following{/other_user}","gists_url":"https://api.github.com/users/kshmelkov/gists{/gist_id}","starred_url":"https://api.github.com/users/kshmelkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshmelkov/subscriptions","organizations_url":"https://api.github.com/users/kshmelkov/orgs","repos_url":"https://api.github.com/users/kshmelkov/repos","events_url":"https://api.github.com/users/kshmelkov/events{/privacy}","received_events_url":"https://api.github.com/users/kshmelkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kshmelkov/nilearn","description":"Machine learning for NeuroImaging in Python","fork":true,"url":"https://api.github.com/repos/kshmelkov/nilearn","forks_url":"https://api.github.com/repos/kshmelkov/nilearn/forks","keys_url":"https://api.github.com/repos/kshmelkov/nilearn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kshmelkov/nilearn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kshmelkov/nilearn/teams","hooks_url":"https://api.github.com/repos/kshmelkov/nilearn/hooks","issue_events_url":"https://api.github.com/repos/kshmelkov/nilearn/issues/events{/number}","events_url":"https://api.github.com/repos/kshmelkov/nilearn/events","assignees_url":"https://api.github.com/repos/kshmelkov/nilearn/assignees{/user}","branches_url":"https://api.github.com/repos/kshmelkov/nilearn/branches{/branch}","tags_url":"https://api.github.com/repos/kshmelkov/nilearn/tags","blobs_url":"https://api.github.com/repos/kshmelkov/nilearn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kshmelkov/nilearn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kshmelkov/nilearn/git/refs{/sha}","trees_url":"https://api.github.com/repos/kshmelkov/nilearn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kshmelkov/nilearn/statuses/{sha}","languages_url":"https://api.github.com/repos/kshmelkov/nilearn/languages","stargazers_url":"https://api.github.com/repos/kshmelkov/nilearn/stargazers","contributors_url":"https://api.github.com/repos/kshmelkov/nilearn/contributors","subscribers_url":"https://api.github.com/repos/kshmelkov/nilearn/subscribers","subscription_url":"https://api.github.com/repos/kshmelkov/nilearn/subscription","commits_url":"https://api.github.com/repos/kshmelkov/nilearn/commits{/sha}","git_commits_url":"https://api.github.com/repos/kshmelkov/nilearn/git/commits{/sha}","comments_url":"https://api.github.com/repos/kshmelkov/nilearn/comments{/number}","issue_comment_url":"https://api.github.com/repos/kshmelkov/nilearn/issues/comments/{number}","contents_url":"https://api.github.com/repos/kshmelkov/nilearn/contents/{+path}","compare_url":"https://api.github.com/repos/kshmelkov/nilearn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kshmelkov/nilearn/merges","archive_url":"https://api.github.com/repos/kshmelkov/nilearn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kshmelkov/nilearn/downloads","issues_url":"https://api.github.com/repos/kshmelkov/nilearn/issues{/number}","pulls_url":"https://api.github.com/repos/kshmelkov/nilearn/pulls{/number}","milestones_url":"https://api.github.com/repos/kshmelkov/nilearn/milestones{/number}","notifications_url":"https://api.github.com/repos/kshmelkov/nilearn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kshmelkov/nilearn/labels{/name}","releases_url":"https://api.github.com/repos/kshmelkov/nilearn/releases{/id}","created_at":"2015-02-05T09:16:39Z","updated_at":"2015-02-05T11:09:39Z","pushed_at":"2015-02-05T11:09:38Z","git_url":"git://github.com/kshmelkov/nilearn.git","ssh_url":"git@github.com:kshmelkov/nilearn.git","clone_url":"https://github.com/kshmelkov/nilearn.git","svn_url":"https://github.com/kshmelkov/nilearn","homepage":"http://nilearn.github.io","size":10954,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nilearn:master","ref":"master","sha":"05b4c560d07803c25ffce61b5b9ea3d7eb588297","user":{"login":"nilearn","id":4646912,"avatar_url":"https://avatars.githubusercontent.com/u/4646912?v=3","gravatar_id":"","url":"https://api.github.com/users/nilearn","html_url":"https://github.com/nilearn","followers_url":"https://api.github.com/users/nilearn/followers","following_url":"https://api.github.com/users/nilearn/following{/other_user}","gists_url":"https://api.github.com/users/nilearn/gists{/gist_id}","starred_url":"https://api.github.com/users/nilearn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilearn/subscriptions","organizations_url":"https://api.github.com/users/nilearn/orgs","repos_url":"https://api.github.com/users/nilearn/repos","events_url":"https://api.github.com/users/nilearn/events{/privacy}","received_events_url":"https://api.github.com/users/nilearn/received_events","type":"Organization","site_admin":false},"repo":{"id":1235740,"name":"nilearn","full_name":"nilearn/nilearn","owner":{"login":"nilearn","id":4646912,"avatar_url":"https://avatars.githubusercontent.com/u/4646912?v=3","gravatar_id":"","url":"https://api.github.com/users/nilearn","html_url":"https://github.com/nilearn","followers_url":"https://api.github.com/users/nilearn/followers","following_url":"https://api.github.com/users/nilearn/following{/other_user}","gists_url":"https://api.github.com/users/nilearn/gists{/gist_id}","starred_url":"https://api.github.com/users/nilearn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilearn/subscriptions","organizations_url":"https://api.github.com/users/nilearn/orgs","repos_url":"https://api.github.com/users/nilearn/repos","events_url":"https://api.github.com/users/nilearn/events{/privacy}","received_events_url":"https://api.github.com/users/nilearn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nilearn/nilearn","description":"Machine learning for NeuroImaging in Python","fork":false,"url":"https://api.github.com/repos/nilearn/nilearn","forks_url":"https://api.github.com/repos/nilearn/nilearn/forks","keys_url":"https://api.github.com/repos/nilearn/nilearn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nilearn/nilearn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nilearn/nilearn/teams","hooks_url":"https://api.github.com/repos/nilearn/nilearn/hooks","issue_events_url":"https://api.github.com/repos/nilearn/nilearn/issues/events{/number}","events_url":"https://api.github.com/repos/nilearn/nilearn/events","assignees_url":"https://api.github.com/repos/nilearn/nilearn/assignees{/user}","branches_url":"https://api.github.com/repos/nilearn/nilearn/branches{/branch}","tags_url":"https://api.github.com/repos/nilearn/nilearn/tags","blobs_url":"https://api.github.com/repos/nilearn/nilearn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nilearn/nilearn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nilearn/nilearn/git/refs{/sha}","trees_url":"https://api.github.com/repos/nilearn/nilearn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nilearn/nilearn/statuses/{sha}","languages_url":"https://api.github.com/repos/nilearn/nilearn/languages","stargazers_url":"https://api.github.com/repos/nilearn/nilearn/stargazers","contributors_url":"https://api.github.com/repos/nilearn/nilearn/contributors","subscribers_url":"https://api.github.com/repos/nilearn/nilearn/subscribers","subscription_url":"https://api.github.com/repos/nilearn/nilearn/subscription","commits_url":"https://api.github.com/repos/nilearn/nilearn/commits{/sha}","git_commits_url":"https://api.github.com/repos/nilearn/nilearn/git/commits{/sha}","comments_url":"https://api.github.com/repos/nilearn/nilearn/comments{/number}","issue_comment_url":"https://api.github.com/repos/nilearn/nilearn/issues/comments/{number}","contents_url":"https://api.github.com/repos/nilearn/nilearn/contents/{+path}","compare_url":"https://api.github.com/repos/nilearn/nilearn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nilearn/nilearn/merges","archive_url":"https://api.github.com/repos/nilearn/nilearn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nilearn/nilearn/downloads","issues_url":"https://api.github.com/repos/nilearn/nilearn/issues{/number}","pulls_url":"https://api.github.com/repos/nilearn/nilearn/pulls{/number}","milestones_url":"https://api.github.com/repos/nilearn/nilearn/milestones{/number}","notifications_url":"https://api.github.com/repos/nilearn/nilearn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nilearn/nilearn/labels{/name}","releases_url":"https://api.github.com/repos/nilearn/nilearn/releases{/id}","created_at":"2011-01-09T19:02:23Z","updated_at":"2015-02-05T11:09:00Z","pushed_at":"2015-02-05T11:08:58Z","git_url":"git://github.com/nilearn/nilearn.git","ssh_url":"git@github.com:nilearn/nilearn.git","clone_url":"https://github.com/nilearn/nilearn.git","svn_url":"https://github.com/nilearn/nilearn","homepage":"http://nilearn.github.io","size":10954,"stargazers_count":70,"watchers_count":70,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":69,"forks":53,"open_issues":69,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/394"},"html":{"href":"https://github.com/nilearn/nilearn/pull/394"},"issue":{"href":"https://api.github.com/repos/nilearn/nilearn/issues/394"},"comments":{"href":"https://api.github.com/repos/nilearn/nilearn/issues/394/comments"},"review_comments":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/394/comments"},"review_comment":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/394/commits"},"statuses":{"href":"https://api.github.com/repos/nilearn/nilearn/statuses/2c4ffe8ac032fff75ab9732b274c7675f8ad9921"}}}}