{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/python-api/issues/171","labels_url":"https://api.github.com/repos/plotly/python-api/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/plotly/python-api/issues/171/comments","events_url":"https://api.github.com/repos/plotly/python-api/issues/171/events","html_url":"https://github.com/plotly/python-api/pull/171","id":53194833,"number":171,"title":"first pass at plotly-ipython graph widget","user":{"login":"chriddyp","id":1280389,"avatar_url":"https://avatars.githubusercontent.com/u/1280389?v=3","gravatar_id":"","url":"https://api.github.com/users/chriddyp","html_url":"https://github.com/chriddyp","followers_url":"https://api.github.com/users/chriddyp/followers","following_url":"https://api.github.com/users/chriddyp/following{/other_user}","gists_url":"https://api.github.com/users/chriddyp/gists{/gist_id}","starred_url":"https://api.github.com/users/chriddyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriddyp/subscriptions","organizations_url":"https://api.github.com/users/chriddyp/orgs","repos_url":"https://api.github.com/users/chriddyp/repos","events_url":"https://api.github.com/users/chriddyp/events{/privacy}","received_events_url":"https://api.github.com/users/chriddyp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-31T17:45:19Z","updated_at":"2015-01-06T17:11:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/plotly/python-api/pulls/171","html_url":"https://github.com/plotly/python-api/pull/171","diff_url":"https://github.com/plotly/python-api/pull/171.diff","patch_url":"https://github.com/plotly/python-api/pull/171.patch"},"body":"usage: http://nbviewer.ipython.org/gist/chriddyp/98a3d27a33ecc044a393\r\n\r\n![](http://i.imgur.com/69wyqjV.gif)\r\n\r\nanimation example - taylor series of sine (values update as you pan around) http://nbviewer.ipython.org/gist/chriddyp/9600fa8314e70ce89f06\r\n![](http://i.imgur.com/r5X9hrK.gif)\r\n\r\ncc @theengineear , @etpinard , @msund , @jackparmer \r\n\r\npretty clean, pretty fun!"},"comment":{"url":"https://api.github.com/repos/plotly/python-api/issues/comments/68895905","html_url":"https://github.com/plotly/python-api/pull/171#issuecomment-68895905","issue_url":"https://api.github.com/repos/plotly/python-api/issues/171","id":68895905,"user":{"login":"chriddyp","id":1280389,"avatar_url":"https://avatars.githubusercontent.com/u/1280389?v=3","gravatar_id":"","url":"https://api.github.com/users/chriddyp","html_url":"https://github.com/chriddyp","followers_url":"https://api.github.com/users/chriddyp/followers","following_url":"https://api.github.com/users/chriddyp/following{/other_user}","gists_url":"https://api.github.com/users/chriddyp/gists{/gist_id}","starred_url":"https://api.github.com/users/chriddyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriddyp/subscriptions","organizations_url":"https://api.github.com/users/chriddyp/orgs","repos_url":"https://api.github.com/users/chriddyp/repos","events_url":"https://api.github.com/users/chriddyp/events{/privacy}","received_events_url":"https://api.github.com/users/chriddyp/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T17:11:19Z","updated_at":"2015-01-06T17:11:19Z","body":"@theengineear re https://github.com/plotly/python-api/pull/171#issuecomment-68807953 - on (3) yeah, the JS code communicates to the embedded Plotly iframe through the [postMessage](https://developer.mozilla.org/en-US/docs/Web/API/Window.postMessage) protocol and listens to messages sent from the events in the iframe on the `window` event here: https://github.com/plotly/python-api/pull/171/files#diff-5283ffa0a4b258e3ffc8722baffb9912R84"}}