Using plot.ly in jupyterlab - no graphics showing

I want to draw a 3D PCA with pylot (Scatter3d), however the graphics are not displayed in jupyterlab only in jupyter-notebook.

I installed the jupyterlab_plotly package and I was able to create the jupyterlab_plotly.Plotly object, but I couldn't figure out how to actually include / draw the graphics in the notebook.

I wonder if anyone can post a working example of drawing shapes in jupyterlab with pyplot.

(An example in the git site project - https://github.com/gnestor/jupyterlab_plotly- only represents the jupyterlab_plotly.Plotly object, but not the graphics itself)

Thank,

+3


source to share


1 answer


I had the same problem. Looks like the project moved here: https://github.com/jupyterlab/jupyter-renderers Installation with suggested: jupyter labextension install @jupyterlab/plotly-extension

worked for me.



+3


source







All Articles