{"action":"closed","number":546,"pull_request":{"url":"https://api.github.com/repos/nilearn/nilearn/pulls/546","id":33432771,"html_url":"https://github.com/nilearn/nilearn/pull/546","diff_url":"https://github.com/nilearn/nilearn/pull/546.diff","patch_url":"https://github.com/nilearn/nilearn/pull/546.patch","issue_url":"https://api.github.com/repos/nilearn/nilearn/issues/546","number":546,"state":"closed","locked":false,"title":"Simplify matplotlib backend choice and test skipping when matplotlib is not installed","user":{"login":"lesteve","id":1680079,"avatar_url":"https://avatars.githubusercontent.com/u/1680079?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteve","html_url":"https://github.com/lesteve","followers_url":"https://api.github.com/users/lesteve/followers","following_url":"https://api.github.com/users/lesteve/following{/other_user}","gists_url":"https://api.github.com/users/lesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteve/subscriptions","organizations_url":"https://api.github.com/users/lesteve/orgs","repos_url":"https://api.github.com/users/lesteve/repos","events_url":"https://api.github.com/users/lesteve/events{/privacy}","received_events_url":"https://api.github.com/users/lesteve/received_events","type":"User","site_admin":false},"body":"Matplotlib backend is set once and for all in\r\n`nilearn/plotting/__init__.py`. Agg is used only when DISPLAY is unset. I am happy also always using Agg when running the tests but on my machine the difference for running `nosetests nilearn/plotting/tests` is something like 1.5s.\r\n\r\nFailing to import matplotlib is only ok when running the tests. \r\n\r\nProtecting matplotlib imports is not needed anymore anymore in nilearn.plotting submodules.","created_at":"2015-04-16T09:27:58Z","updated_at":"2015-04-16T12:29:16Z","closed_at":"2015-04-16T12:29:16Z","merged_at":"2015-04-16T12:29:16Z","merge_commit_sha":"5d805d2fda08916cf42810350b21b9f0e2fcb507","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nilearn/nilearn/pulls/546/commits","review_comments_url":"https://api.github.com/repos/nilearn/nilearn/pulls/546/comments","review_comment_url":"https://api.github.com/repos/nilearn/nilearn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nilearn/nilearn/issues/546/comments","statuses_url":"https://api.github.com/repos/nilearn/nilearn/statuses/af234a9dbf60cc6cc40c13938f46909c02b4df2a","head":{"label":"lesteve:simplify-matplotlib-backend-choice","ref":"simplify-matplotlib-backend-choice","sha":"af234a9dbf60cc6cc40c13938f46909c02b4df2a","user":{"login":"lesteve","id":1680079,"avatar_url":"https://avatars.githubusercontent.com/u/1680079?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteve","html_url":"https://github.com/lesteve","followers_url":"https://api.github.com/users/lesteve/followers","following_url":"https://api.github.com/users/lesteve/following{/other_user}","gists_url":"https://api.github.com/users/lesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteve/subscriptions","organizations_url":"https://api.github.com/users/lesteve/orgs","repos_url":"https://api.github.com/users/lesteve/repos","events_url":"https://api.github.com/users/lesteve/events{/privacy}","received_events_url":"https://api.github.com/users/lesteve/received_events","type":"User","site_admin":false},"repo":{"id":21856095,"name":"nilearn","full_name":"lesteve/nilearn","owner":{"login":"lesteve","id":1680079,"avatar_url":"https://avatars.githubusercontent.com/u/1680079?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteve","html_url":"https://github.com/lesteve","followers_url":"https://api.github.com/users/lesteve/followers","following_url":"https://api.github.com/users/lesteve/following{/other_user}","gists_url":"https://api.github.com/users/lesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteve/subscriptions","organizations_url":"https://api.github.com/users/lesteve/orgs","repos_url":"https://api.github.com/users/lesteve/repos","events_url":"https://api.github.com/users/lesteve/events{/privacy}","received_events_url":"https://api.github.com/users/lesteve/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lesteve/nilearn","description":"Machine learning for NeuroImaging in Python","fork":true,"url":"https://api.github.com/repos/lesteve/nilearn","forks_url":"https://api.github.com/repos/lesteve/nilearn/forks","keys_url":"https://api.github.com/repos/lesteve/nilearn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lesteve/nilearn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lesteve/nilearn/teams","hooks_url":"https://api.github.com/repos/lesteve/nilearn/hooks","issue_events_url":"https://api.github.com/repos/lesteve/nilearn/issues/events{/number}","events_url":"https://api.github.com/repos/lesteve/nilearn/events","assignees_url":"https://api.github.com/repos/lesteve/nilearn/assignees{/user}","branches_url":"https://api.github.com/repos/lesteve/nilearn/branches{/branch}","tags_url":"https://api.github.com/repos/lesteve/nilearn/tags","blobs_url":"https://api.github.com/repos/lesteve/nilearn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lesteve/nilearn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lesteve/nilearn/git/refs{/sha}","trees_url":"https://api.github.com/repos/lesteve/nilearn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lesteve/nilearn/statuses/{sha}","languages_url":"https://api.github.com/repos/lesteve/nilearn/languages","stargazers_url":"https://api.github.com/repos/lesteve/nilearn/stargazers","contributors_url":"https://api.github.com/repos/lesteve/nilearn/contributors","subscribers_url":"https://api.github.com/repos/lesteve/nilearn/subscribers","subscription_url":"https://api.github.com/repos/lesteve/nilearn/subscription","commits_url":"https://api.github.com/repos/lesteve/nilearn/commits{/sha}","git_commits_url":"https://api.github.com/repos/lesteve/nilearn/git/commits{/sha}","comments_url":"https://api.github.com/repos/lesteve/nilearn/comments{/number}","issue_comment_url":"https://api.github.com/repos/lesteve/nilearn/issues/comments{/number}","contents_url":"https://api.github.com/repos/lesteve/nilearn/contents/{+path}","compare_url":"https://api.github.com/repos/lesteve/nilearn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lesteve/nilearn/merges","archive_url":"https://api.github.com/repos/lesteve/nilearn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lesteve/nilearn/downloads","issues_url":"https://api.github.com/repos/lesteve/nilearn/issues{/number}","pulls_url":"https://api.github.com/repos/lesteve/nilearn/pulls{/number}","milestones_url":"https://api.github.com/repos/lesteve/nilearn/milestones{/number}","notifications_url":"https://api.github.com/repos/lesteve/nilearn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lesteve/nilearn/labels{/name}","releases_url":"https://api.github.com/repos/lesteve/nilearn/releases{/id}","created_at":"2014-07-15T10:47:26Z","updated_at":"2015-04-15T12:15:50Z","pushed_at":"2015-04-16T11:57:37Z","git_url":"git://github.com/lesteve/nilearn.git","ssh_url":"git@github.com:lesteve/nilearn.git","clone_url":"https://github.com/lesteve/nilearn.git","svn_url":"https://github.com/lesteve/nilearn","homepage":"http://nilearn.github.io","size":7421,"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":"ef0bf9146a9e71c7c983e6103072baa0da0e3af7","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-04-16T12:29:16Z","pushed_at":"2015-04-16T12:29:16Z","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":13096,"stargazers_count":77,"watchers_count":77,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"open_issues_count":68,"forks":59,"open_issues":68,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/546"},"html":{"href":"https://github.com/nilearn/nilearn/pull/546"},"issue":{"href":"https://api.github.com/repos/nilearn/nilearn/issues/546"},"comments":{"href":"https://api.github.com/repos/nilearn/nilearn/issues/546/comments"},"review_comments":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/546/comments"},"review_comment":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nilearn/nilearn/pulls/546/commits"},"statuses":{"href":"https://api.github.com/repos/nilearn/nilearn/statuses/af234a9dbf60cc6cc40c13938f46909c02b4df2a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lesteve","id":1680079,"avatar_url":"https://avatars.githubusercontent.com/u/1680079?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteve","html_url":"https://github.com/lesteve","followers_url":"https://api.github.com/users/lesteve/followers","following_url":"https://api.github.com/users/lesteve/following{/other_user}","gists_url":"https://api.github.com/users/lesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteve/subscriptions","organizations_url":"https://api.github.com/users/lesteve/orgs","repos_url":"https://api.github.com/users/lesteve/repos","events_url":"https://api.github.com/users/lesteve/events{/privacy}","received_events_url":"https://api.github.com/users/lesteve/received_events","type":"User","site_admin":false},"comments":3,"review_comments":1,"commits":2,"additions":44,"deletions":140,"changed_files":8}}