Plotly extension missing for jupyter lab
I noticed plotly doesn't work in our jupyterlab. Apparently, one needs to install a labextension for that.
In the internet I found two ways of doing it:
conda install -c conda-forge jupyterlab-plotly-extension
-
jupyter labextension install @jupyterlab/plotly-extension
In that case, on my laptop I also had to doconda install nodejs
.
Any ideas what's the better way?