{"action":"created","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/1762","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1762/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1762/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1762/events","html_url":"https://github.com/mne-tools/mne-python/pull/1762","id":55432554,"number":1762,"title":"[WIP] Added first custom_layout code. ","user":{"login":"choldgraf","id":1839645,"avatar_url":"https://avatars.githubusercontent.com/u/1839645?v=3","gravatar_id":"","url":"https://api.github.com/users/choldgraf","html_url":"https://github.com/choldgraf","followers_url":"https://api.github.com/users/choldgraf/followers","following_url":"https://api.github.com/users/choldgraf/following{/other_user}","gists_url":"https://api.github.com/users/choldgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/choldgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choldgraf/subscriptions","organizations_url":"https://api.github.com/users/choldgraf/orgs","repos_url":"https://api.github.com/users/choldgraf/repos","events_url":"https://api.github.com/users/choldgraf/events{/privacy}","received_events_url":"https://api.github.com/users/choldgraf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mne-tools/mne-python/milestones/5","html_url":"https://github.com/mne-tools/mne-python/milestones/0.9","labels_url":"https://api.github.com/repos/mne-tools/mne-python/milestones/5/labels","id":1011721,"number":5,"title":"0.9","description":null,"creator":{"login":"Eric89GXL","id":2365790,"avatar_url":"https://avatars.githubusercontent.com/u/2365790?v=3","gravatar_id":"","url":"https://api.github.com/users/Eric89GXL","html_url":"https://github.com/Eric89GXL","followers_url":"https://api.github.com/users/Eric89GXL/followers","following_url":"https://api.github.com/users/Eric89GXL/following{/other_user}","gists_url":"https://api.github.com/users/Eric89GXL/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric89GXL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric89GXL/subscriptions","organizations_url":"https://api.github.com/users/Eric89GXL/orgs","repos_url":"https://api.github.com/users/Eric89GXL/repos","events_url":"https://api.github.com/users/Eric89GXL/events{/privacy}","received_events_url":"https://api.github.com/users/Eric89GXL/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":97,"state":"open","created_at":"2015-03-09T03:10:39Z","updated_at":"2015-04-24T16:37:33Z","due_on":null,"closed_at":null},"comments":76,"created_at":"2015-01-25T22:09:49Z","updated_at":"2015-04-25T02:50:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mne-tools/mne-python/pulls/1762","html_url":"https://github.com/mne-tools/mne-python/pull/1762","diff_url":"https://github.com/mne-tools/mne-python/pull/1762.diff","patch_url":"https://github.com/mne-tools/mne-python/pull/1762.patch"},"body":"Generates layouts correctly but the aligning when using a background image isn't perfect. Maybe the problem is normalizing by non-square image? Mentioned in #1758 "},"comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments/96122747","html_url":"https://github.com/mne-tools/mne-python/pull/1762#issuecomment-96122747","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/1762","id":96122747,"user":{"login":"Eric89GXL","id":2365790,"avatar_url":"https://avatars.githubusercontent.com/u/2365790?v=3","gravatar_id":"","url":"https://api.github.com/users/Eric89GXL","html_url":"https://github.com/Eric89GXL","followers_url":"https://api.github.com/users/Eric89GXL/followers","following_url":"https://api.github.com/users/Eric89GXL/following{/other_user}","gists_url":"https://api.github.com/users/Eric89GXL/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric89GXL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric89GXL/subscriptions","organizations_url":"https://api.github.com/users/Eric89GXL/orgs","repos_url":"https://api.github.com/users/Eric89GXL/repos","events_url":"https://api.github.com/users/Eric89GXL/events{/privacy}","received_events_url":"https://api.github.com/users/Eric89GXL/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T02:50:00Z","updated_at":"2015-04-25T02:50:00Z","body":"Do you need to use itertools? Could you use a `for` loop? The farther you wander from builtins and `numpy` generally the less readable code becomes. `meshgrid` is fine if you need to use it, most people will know what it does."}}