{"action":"created","issue":{"url":"https://api.github.com/repos/nilearn/nilearn/issues/2019","repository_url":"https://api.github.com/repos/nilearn/nilearn","labels_url":"https://api.github.com/repos/nilearn/nilearn/issues/2019/labels{/name}","comments_url":"https://api.github.com/repos/nilearn/nilearn/issues/2019/comments","events_url":"https://api.github.com/repos/nilearn/nilearn/issues/2019/events","html_url":"https://github.com/nilearn/nilearn/pull/2019","id":434299237,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcxMzIwNDQ2","number":2019,"title":"[ENH] Initial visual reports","user":{"login":"emdupre","id":15017191,"node_id":"MDQ6VXNlcjE1MDE3MTkx","avatar_url":"https://avatars3.githubusercontent.com/u/15017191?v=4","gravatar_id":"","url":"https://api.github.com/users/emdupre","html_url":"https://github.com/emdupre","followers_url":"https://api.github.com/users/emdupre/followers","following_url":"https://api.github.com/users/emdupre/following{/other_user}","gists_url":"https://api.github.com/users/emdupre/gists{/gist_id}","starred_url":"https://api.github.com/users/emdupre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emdupre/subscriptions","organizations_url":"https://api.github.com/users/emdupre/orgs","repos_url":"https://api.github.com/users/emdupre/repos","events_url":"https://api.github.com/users/emdupre/events{/privacy}","received_events_url":"https://api.github.com/users/emdupre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":72,"created_at":"2019-04-17T13:58:44Z","updated_at":"2019-07-23T20:16:27Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/nilearn/nilearn/pulls/2019","html_url":"https://github.com/nilearn/nilearn/pull/2019","diff_url":"https://github.com/nilearn/nilearn/pull/2019.diff","patch_url":"https://github.com/nilearn/nilearn/pull/2019.patch"},"body":"An initial implementation of visual reports for Nilearn. Adds:\r\n- [x] The templating library _tempita_ as an external dependency\r\n- [x] A new reporting HTML template\r\n- [x] A super class `Report` to populate the report HTML template with _tempita_ populated text\r\n- [x] Relevant CSS styling to improve report UX, using [pure-css](https://purecss.io/)\r\n- [x] An ability to display reports directly in Jupyter Notebooks, without iframe rendering, thanks to @GaelVaroquaux \r\n- [ ] Documentation of this functionality, with examples\r\n\r\nFor a current rendering of reports see: https://github.com/nilearn/nilearn/pull/2019#issuecomment-489284627 and https://github.com/nilearn/nilearn/pull/2019#issuecomment-512071357\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nilearn/nilearn/issues/comments/514367110","html_url":"https://github.com/nilearn/nilearn/pull/2019#issuecomment-514367110","issue_url":"https://api.github.com/repos/nilearn/nilearn/issues/2019","id":514367110,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNDM2NzExMA==","user":{"login":"kchawla-pi","id":8203204,"node_id":"MDQ6VXNlcjgyMDMyMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8203204?v=4","gravatar_id":"","url":"https://api.github.com/users/kchawla-pi","html_url":"https://github.com/kchawla-pi","followers_url":"https://api.github.com/users/kchawla-pi/followers","following_url":"https://api.github.com/users/kchawla-pi/following{/other_user}","gists_url":"https://api.github.com/users/kchawla-pi/gists{/gist_id}","starred_url":"https://api.github.com/users/kchawla-pi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kchawla-pi/subscriptions","organizations_url":"https://api.github.com/users/kchawla-pi/orgs","repos_url":"https://api.github.com/users/kchawla-pi/repos","events_url":"https://api.github.com/users/kchawla-pi/events{/privacy}","received_events_url":"https://api.github.com/users/kchawla-pi/received_events","type":"User","site_admin":false},"created_at":"2019-07-23T20:16:27Z","updated_at":"2019-07-23T20:16:27Z","author_association":"MEMBER","body":"```python\r\nimport io\r\nfrom matplotlib import pyplot as plt\r\nbuffer = io.StringIO()\r\nplt.savefig(buffer, format='svg')\r\n```"}}
{"actor":{"display_login":"kchawla-pi"}}