I want to draw 3D PCA with pylot (Scatter3d), however the graphics is not showing up in jupyterlab only in jupyter-notebook.
I've installed the 'jupyterlab_plotly' package and I was able to create an 'jupyterlab_plotly.Plotly object', but I couldn't figure out how to actually include/draw the graphics in the notebook.
I wonder if someone could post a working example of drawing figures in jupyterlab with pyplot.
(The example at the project's git site - https://github.com/gnestor/jupyterlab_plotly- only present an 'jupyterlab_plotly.Plotly object', but not the graphics itself)
Thanks,
JupyterLab Problems In order to use plotly in JupyterLab, you must have the jupyterlab-plotly extension installed as detailed in the Getting Started guide. When you install plotly , this extension is automatically made available to any JupyterLab 3. x installation in the same Python environment.
Simply visit plot.ly and select the + Create button in the upper right hand corner. Select Notebook and upload your Jupyter notebook (. ipynb) file!
I had the same issue. Looks like the project has moved over here:
https://github.com/jupyterlab/jupyter-renderers
Installing with the suggested:
jupyter labextension install @jupyterlab/plotly-extension
worked for me.
This is now superseded by jupyter labextension install jupyterlab-plotly
as per https://plotly.com/python/getting-started/#jupyterlab-support-python-35
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With