Trying to get Plotly running in a fresh install of Jupyter Lab. Being pretty unfamiliar with the entire Jupyter/Conda/Python ecosystem I’m getting lost in all the different install instructions.
Is there a chance someone could help me walk through my install to make sure I have everything installed correctly before I move on to figuring out what might be wrong with my syntax.
The steps I followed (from the site)
(from within Anaconda 3 prompt)
conda install jupyterlab=1.0 "ipywidgets>=7.5" set NODE_OPTIONS=--max-old-space-size=4096 jupyter labextension install @firstname.lastname@example.org --no-build jupyter labextension install email@example.com --no-build jupyter labextension install firstname.lastname@example.org --no-build jupyter labextension install email@example.com --no-build jupyter lab build set NODE_OPTIONS= jupyter lab
- New Notebook - Python 3
import plotly.graph_objects as go fig = go.Figure(data=go.Bar(y=[2, 3, 1])) fig.show()
Result is big blank block
Here is my output from labextensions list
app dir: C:\ProgramData\Anaconda3\share\jupyter\lab
@jupyter-widgets/jupyterlab-manager v1.0.2 enabled ok
@jupyterlab/dataregistry-extension v2.2.2 enabled ok
jupyterlab-chart-editor v1.2.0 enabled ok
jupyterlab-plotly v1.1.0 enabled ok
jupyterlab_voyager v1.0.2 enabled ok
plotlywidget v1.1.0 enabled ok
Chrome Version 77.0.3865.75 (Official Build) (64-bit)
My frustration comes from going through these steps and then copying and pasting the simple examples from https://plot.ly/python/getting-started/#jupyterlab-support-python-35 and still not getting anything rendered. A big blank output block appears but nothing renders. I’ve tried to go through the post where people had similar issue with plots not rendering but none of the items discussed seemed to help.
Much appreciation in advance