{"action":"created","issue":{"url":"https://api.github.com/repos/mila-udem/blocks-extras/issues/11","labels_url":"https://api.github.com/repos/mila-udem/blocks-extras/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/mila-udem/blocks-extras/issues/11/comments","events_url":"https://api.github.com/repos/mila-udem/blocks-extras/issues/11/events","html_url":"https://github.com/mila-udem/blocks-extras/pull/11","id":90472691,"number":11,"title":"iPython notebook embedding (see issue #10)","user":{"login":"mdda","id":362532,"avatar_url":"https://avatars.githubusercontent.com/u/362532?v=3","gravatar_id":"","url":"https://api.github.com/users/mdda","html_url":"https://github.com/mdda","followers_url":"https://api.github.com/users/mdda/followers","following_url":"https://api.github.com/users/mdda/following{/other_user}","gists_url":"https://api.github.com/users/mdda/gists{/gist_id}","starred_url":"https://api.github.com/users/mdda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdda/subscriptions","organizations_url":"https://api.github.com/users/mdda/orgs","repos_url":"https://api.github.com/users/mdda/repos","events_url":"https://api.github.com/users/mdda/events{/privacy}","received_events_url":"https://api.github.com/users/mdda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-23T19:37:28Z","updated_at":"2015-07-09T20:15:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mila-udem/blocks-extras/pulls/11","html_url":"https://github.com/mila-udem/blocks-extras/pull/11","diff_url":"https://github.com/mila-udem/blocks-extras/pull/11.diff","patch_url":"https://github.com/mila-udem/blocks-extras/pull/11.patch"},"body":"This is a somewhat reorganized plot.py, that works for embedding bokeh plots from blocks (on my machine at least)...\r\n\r\nAn example notebook that shows this is : \r\n\r\nhttps://github.com/mdda/pycon.sg-2015_deep-learning/blob/master/ipynb/1-LivePlotting.ipynb\r\n\r\n(which is in my https://github.com/mdda/pycon.sg-2015_deep-learning repo, which I prepared for the Singapore PyCon last week).\r\n\r\nAs I mentioned, there have been quite a few changes, and, in order to see whether it still works in its original setting, I'd like to make sure that the original author can still use it 'server-side'.  I believe that I've included the necessary notebook switching stuff, but would like to verify.\r\n\r\nOne critical line for the iPython embedding is explained in the notebook itself\r\n```\r\n# Needs 'url' in order to stream (creating a session on the bokeh-server) \r\n# - and \"default\" is a special case\r\noutput_notebook(url=\"default\", hide_banner=True)  # If you like banners, the default is False\r\n```\r\n\r\nMy repo's README has some explanatory text about how to set the bokeh server up, which might be worth embedding here too.\r\n\r\nBest Wishes, Martin\r\n"},"comment":{"url":"https://api.github.com/repos/mila-udem/blocks-extras/issues/comments/120133473","html_url":"https://github.com/mila-udem/blocks-extras/pull/11#issuecomment-120133473","issue_url":"https://api.github.com/repos/mila-udem/blocks-extras/issues/11","id":120133473,"user":{"login":"rizar","id":654434,"avatar_url":"https://avatars.githubusercontent.com/u/654434?v=3","gravatar_id":"","url":"https://api.github.com/users/rizar","html_url":"https://github.com/rizar","followers_url":"https://api.github.com/users/rizar/followers","following_url":"https://api.github.com/users/rizar/following{/other_user}","gists_url":"https://api.github.com/users/rizar/gists{/gist_id}","starred_url":"https://api.github.com/users/rizar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rizar/subscriptions","organizations_url":"https://api.github.com/users/rizar/orgs","repos_url":"https://api.github.com/users/rizar/repos","events_url":"https://api.github.com/users/rizar/events{/privacy}","received_events_url":"https://api.github.com/users/rizar/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T20:15:13Z","updated_at":"2015-07-09T20:15:13Z","body":"Travis build is also broken: https://travis-ci.org/mila-udem/blocks-examples/jobs/70233007\r\n\r\nI am using 0.9.1, the same version was used for the build, so I guess if you update Bokeh you will experience the same issue."}}