vscodeJupyter
vscodeJupyter copied to clipboard
Graph isn't shown in the result window
Environment data
VS Code version: 1.14.1 Jupyter Extension version: 1.1.3 OS and version: OS X 10.11.6 Plotly version: 2.0.9 (tried with 1.12.9 too)
Logs
Output from Jupyter output panel
Blank space approximately of the size of the potential graph
Output from Console window (Help->Developer Tools menu)
extensionHost.ts:320 [Extension Host] clientExists, on server
extensionHost.ts:320 [Extension Host] Object {id: "1500297165539"}
webview.ts:139 [Embedded Page] [object Object]
webview.ts:139 [Embedded Page] Uncaught ReferenceError: define is not defined
webview.ts:139 [Embedded Page] [object Object]
webview.ts:139 [Embedded Page] Uncaught ReferenceError: require is not defined
Actual behavior
Doesn't show the graph
Expected behavior
Shows the graph
Steps to reproduce:
from plotly import offline
offline.init_notebook_mode()
offline.iplot([{"y": [1, 2, 1]}])
Also, could you improve the result UI? It looks very simple and it would be cool if it had similar behaviour as Hydrogen for Atom.
From my tests, it seems vscodeJupyter doesn't support plotly at all.