{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/plotly.py/issues/368","labels_url":"https://api.github.com/repos/plotly/plotly.py/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.py/issues/368/comments","events_url":"https://api.github.com/repos/plotly/plotly.py/issues/368/events","html_url":"https://github.com/plotly/plotly.py/issues/368","id":120526303,"number":368,"title":"Widgets in offline mode","user":{"login":"aggFTW","id":654204,"avatar_url":"https://avatars.githubusercontent.com/u/654204?v=3","gravatar_id":"","url":"https://api.github.com/users/aggFTW","html_url":"https://github.com/aggFTW","followers_url":"https://api.github.com/users/aggFTW/followers","following_url":"https://api.github.com/users/aggFTW/following{/other_user}","gists_url":"https://api.github.com/users/aggFTW/gists{/gist_id}","starred_url":"https://api.github.com/users/aggFTW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aggFTW/subscriptions","organizations_url":"https://api.github.com/users/aggFTW/orgs","repos_url":"https://api.github.com/users/aggFTW/repos","events_url":"https://api.github.com/users/aggFTW/events{/privacy}","received_events_url":"https://api.github.com/users/aggFTW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-05T03:42:21Z","updated_at":"2015-12-07T19:12:36Z","closed_at":null,"body":"Hi, is it possible to create a plotly widget in offline mode? I am basically trying to get something like, say: `iplot([{\"x\": [1, 2, 3], \"y\": [3, 1, 6]}])` to display in an IPython widget. I see that plotly has support for widgets via the [GraphWidget](https://github.com/plotly/plotly.py/blob/390c09d18d30706a5eb42390beeea103a8837f3d/plotly/widgets/graph_widget.py) and I was wondering if I can basically nest a plotly widget in one of my widgets. \r\n\r\nI learned about this from [this post](http://moderndata.plot.ly/widgets-in-ipython-notebook-and-plotly/) by @chriddyp. The example notebooks in the post are not reachable and I presume they won't be using offline graphs.\r\n\r\nAny help would be greatly appreciated! Thanks :)"},"comment":{"url":"https://api.github.com/repos/plotly/plotly.py/issues/comments/162628162","html_url":"https://github.com/plotly/plotly.py/issues/368#issuecomment-162628162","issue_url":"https://api.github.com/repos/plotly/plotly.py/issues/368","id":162628162,"user":{"login":"aggFTW","id":654204,"avatar_url":"https://avatars.githubusercontent.com/u/654204?v=3","gravatar_id":"","url":"https://api.github.com/users/aggFTW","html_url":"https://github.com/aggFTW","followers_url":"https://api.github.com/users/aggFTW/followers","following_url":"https://api.github.com/users/aggFTW/following{/other_user}","gists_url":"https://api.github.com/users/aggFTW/gists{/gist_id}","starred_url":"https://api.github.com/users/aggFTW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aggFTW/subscriptions","organizations_url":"https://api.github.com/users/aggFTW/orgs","repos_url":"https://api.github.com/users/aggFTW/repos","events_url":"https://api.github.com/users/aggFTW/events{/privacy}","received_events_url":"https://api.github.com/users/aggFTW/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T19:12:36Z","updated_at":"2015-12-07T19:12:36Z","body":"Thanks @ellisonbg!\r\n\r\nI was trying that, executing this:\r\n\r\n```\r\nfrom ipywidgets import Output\r\now = Output()\r\nwith ow:\r\n    iplot([{\"x\": [1, 2, 3], \"y\": [3, 1, 6]}])\r\now\r\n```\r\n\r\nbut there's nothing showing up:\r\n\r\n![exampleoutput](https://cloud.githubusercontent.com/assets/654204/11636861/2462e316-9cd3-11e5-97bd-be5d2351e7cc.PNG)\r\n\r\nI thought maybe `iplot` didn't work with Output, so I looked into plotly's widget story and discovered that they have a widget that takes in an URL. However, I couldn't find a way to make their widget work in plotly's offline mode (iplot is part of their offline mode module). Hence, my question. \r\n\r\nDo you get the same result with the code I posted?\r\n"}}