{"action":"created","issue":{"url":"https://api.github.com/repos/nilearn/nilearn/issues/1743","repository_url":"https://api.github.com/repos/nilearn/nilearn","labels_url":"https://api.github.com/repos/nilearn/nilearn/issues/1743/labels{/name}","comments_url":"https://api.github.com/repos/nilearn/nilearn/issues/1743/comments","events_url":"https://api.github.com/repos/nilearn/nilearn/issues/1743/events","html_url":"https://github.com/nilearn/nilearn/pull/1743","id":355313643,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExODcyMDE3","number":1743,"title":"[ENH] Add scale bar to plotting displays","user":{"login":"oesteban","id":598470,"node_id":"MDQ6VXNlcjU5ODQ3MA==","avatar_url":"https://avatars2.githubusercontent.com/u/598470?v=4","gravatar_id":"","url":"https://api.github.com/users/oesteban","html_url":"https://github.com/oesteban","followers_url":"https://api.github.com/users/oesteban/followers","following_url":"https://api.github.com/users/oesteban/following{/other_user}","gists_url":"https://api.github.com/users/oesteban/gists{/gist_id}","starred_url":"https://api.github.com/users/oesteban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oesteban/subscriptions","organizations_url":"https://api.github.com/users/oesteban/orgs","repos_url":"https://api.github.com/users/oesteban/repos","events_url":"https://api.github.com/users/oesteban/events{/privacy}","received_events_url":"https://api.github.com/users/oesteban/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-08-29T20:08:23Z","updated_at":"2018-10-13T19:16:45Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/nilearn/nilearn/pulls/1743","html_url":"https://github.com/nilearn/nilearn/pull/1743","diff_url":"https://github.com/nilearn/nilearn/pull/1743.diff","patch_url":"https://github.com/nilearn/nilearn/pull/1743.patch"},"body":"Enables the annotation of plots with a scale bar:\r\n\r\n![nilearn-pr1](https://user-images.githubusercontent.com/598470/44812108-3ef75300-ab8b-11e8-940c-27686db2076e.png)\r\n![nilearn-pr2](https://user-images.githubusercontent.com/598470/44812107-3ef75300-ab8b-11e8-874c-4ba3b28e9b55.png)\r\n\r\n- [x] All parameters can be passed on as `kwargs`\r\n- [x] Scale can be above or below the label\r\n- [x] Supports `'mm'` and `'cm'`\r\n\r\nThis addition is justified by the [requirements of journals](![nilearn-pr1](https://user-images.githubusercontent.com/598470/44812108-3ef75300-ab8b-11e8-940c-27686db2076e.png)):\r\n\r\n> Scale bars should be used rather than magnification factors, with the length of the bar defined in the legend rather than on the bar itself.\r\n\r\n(their example):\r\n![nilearn-pr3](https://user-images.githubusercontent.com/598470/44812618-9518c600-ab8c-11e8-80d3-24cd8b35545b.png)\r\n"},"comment":{"url":"https://api.github.com/repos/nilearn/nilearn/issues/comments/429568020","html_url":"https://github.com/nilearn/nilearn/pull/1743#issuecomment-429568020","issue_url":"https://api.github.com/repos/nilearn/nilearn/issues/1743","id":429568020,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTU2ODAyMA==","user":{"login":"GaelVaroquaux","id":208217,"node_id":"MDQ6VXNlcjIwODIxNw==","avatar_url":"https://avatars3.githubusercontent.com/u/208217?v=4","gravatar_id":"","url":"https://api.github.com/users/GaelVaroquaux","html_url":"https://github.com/GaelVaroquaux","followers_url":"https://api.github.com/users/GaelVaroquaux/followers","following_url":"https://api.github.com/users/GaelVaroquaux/following{/other_user}","gists_url":"https://api.github.com/users/GaelVaroquaux/gists{/gist_id}","starred_url":"https://api.github.com/users/GaelVaroquaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaelVaroquaux/subscriptions","organizations_url":"https://api.github.com/users/GaelVaroquaux/orgs","repos_url":"https://api.github.com/users/GaelVaroquaux/repos","events_url":"https://api.github.com/users/GaelVaroquaux/events{/privacy}","received_events_url":"https://api.github.com/users/GaelVaroquaux/received_events","type":"User","site_admin":false},"created_at":"2018-10-13T19:16:45Z","updated_at":"2018-10-13T19:16:45Z","author_association":"CONTRIBUTOR","body":"@oesteban : are you fine with the changes? If so, I'll merge when CI is green."}}
{"actor":{"display_login":"GaelVaroquaux"}}