{"action":"created","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/3413","repository_url":"https://api.github.com/repos/mne-tools/mne-python","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3413/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3413/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3413/events","html_url":"https://github.com/mne-tools/mne-python/pull/3413","id":164739948,"number":3413,"title":"plot_compare_evoked","user":{"login":"jona-sassenhagen","id":4321826,"avatar_url":"https://avatars.githubusercontent.com/u/4321826?v=3","gravatar_id":"","url":"https://api.github.com/users/jona-sassenhagen","html_url":"https://github.com/jona-sassenhagen","followers_url":"https://api.github.com/users/jona-sassenhagen/followers","following_url":"https://api.github.com/users/jona-sassenhagen/following{/other_user}","gists_url":"https://api.github.com/users/jona-sassenhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/jona-sassenhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jona-sassenhagen/subscriptions","organizations_url":"https://api.github.com/users/jona-sassenhagen/orgs","repos_url":"https://api.github.com/users/jona-sassenhagen/repos","events_url":"https://api.github.com/users/jona-sassenhagen/events{/privacy}","received_events_url":"https://api.github.com/users/jona-sassenhagen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2016-07-10T23:32:17Z","updated_at":"2016-08-29T09:56:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mne-tools/mne-python/pulls/3413","html_url":"https://github.com/mne-tools/mne-python/pull/3413","diff_url":"https://github.com/mne-tools/mne-python/pull/3413.diff","patch_url":"https://github.com/mne-tools/mne-python/pull/3413.patch"},"body":"Not ready for merge yet. Comments welcome.\r\n\r\nDoes stuff like this:\r\n\r\n```\r\ncolors = {\"control\":'Crimson', 'violation':'CornFlowerBlue'}\r\nplot_compare_evokeds(hard, picks='Cz', colors=colors);\r\n```\r\n\r\n![unknown-157](https://cloud.githubusercontent.com/assets/4321826/16716784/e10593aa-4706-11e6-93bf-086245006d6c.png)\r\n\r\n\r\nMissing:\r\n\r\n- [x] tests\r\n- [x] more tests\r\n- [x] more input checks\r\n- [x] cleanup"},"comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments/243083309","html_url":"https://github.com/mne-tools/mne-python/pull/3413#issuecomment-243083309","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/3413","id":243083309,"user":{"login":"jona-sassenhagen","id":4321826,"avatar_url":"https://avatars.githubusercontent.com/u/4321826?v=3","gravatar_id":"","url":"https://api.github.com/users/jona-sassenhagen","html_url":"https://github.com/jona-sassenhagen","followers_url":"https://api.github.com/users/jona-sassenhagen/followers","following_url":"https://api.github.com/users/jona-sassenhagen/following{/other_user}","gists_url":"https://api.github.com/users/jona-sassenhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/jona-sassenhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jona-sassenhagen/subscriptions","organizations_url":"https://api.github.com/users/jona-sassenhagen/orgs","repos_url":"https://api.github.com/users/jona-sassenhagen/repos","events_url":"https://api.github.com/users/jona-sassenhagen/events{/privacy}","received_events_url":"https://api.github.com/users/jona-sassenhagen/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T09:56:59Z","updated_at":"2016-08-29T09:56:59Z","body":"```\r\n%matplotlib inline\r\nimport numpy as np\r\nimport mne\r\nimport matplotlib.pyplot as plt\r\nfrom mne.datasets import sample\r\nmne.set_log_level('critical')\r\n\r\nevokeds = mne.read_evokeds(sample.data_path() + '/MEG/sample/sample_audvis-ave.fif',\r\n                          baseline=(None, 0))\r\nevokeds = {\"/\".join(evoked.comment.split()):evoked for evoked in evokeds}\r\nmne.viz.evoked.plot_compare_evokeds(evokeds, gfp=False);\r\n```\r\n\r\n![unknown-64](https://cloud.githubusercontent.com/assets/4321826/18047936/a296884a-6ddf-11e6-8374-074aed990e9d.png)\r\n\r\n![unknown-65](https://cloud.githubusercontent.com/assets/4321826/18047940/a6054b6a-6ddf-11e6-9c4b-b7fa20ebbb59.png)\r\n\r\n![unknown-66](https://cloud.githubusercontent.com/assets/4321826/18047944/a8492266-6ddf-11e6-82bd-fec774da9807.png)\r\n\r\n"}}
{"actor":{"display_login":"jona-sassenhagen"}}