Hi @sursu, what versions of the plotly extensions (jupyterlab-plotly and plotlywidget) do you have installed? Can you provide a reproducible set of steps that create the problem?
The instructions at https://github.com/plotly/plotly.py#jupyterlab-support-python-35 include the supported combination of versions of everything needed to get JupyterLab support working. Also make sure you don't have the legacy @jupyterlab/plotly-extension extension installed.
Hi @jonmmease, I have followed the instructions you have mentioned.
If you haven't changed that then the versions should be those:
(Don't know how to check them otherwise)
Reproducible set of steps:
jupyter lab in the terminal.@jonmmease can you replicate this?
Hi @sursu, what versions of the plotly extensions (
jupyterlab-plotlyandplotlywidget) do you have installed? Can you provide a reproducible set of steps that create the problem?The instructions at https://github.com/plotly/plotly.py#jupyterlab-support-python-35 include the supported combination of versions of everything needed to get JupyterLab support working. Also make sure you don't have the legacy
@jupyterlab/plotly-extensionextension installed.
uninstalling @jupyterlab/plotly-extension solved it for me. thanks!
Thank you, that solved it!
For posterity, here is how uninstalling is done:
jupyter labextension uninstall @jupyterlab/plotly-extension
so is there any guidance on using plotly-extension with jupyter-lab?
Yes, we have a Troubleshooting guide now: https://plot.ly/python/troubleshooting/ :)
I had the same problem. For some reason after uninstalling the JupyterLab plotly extension it is now working fine.
the old extension plotly-extension has been deprecated and is now replaced with jupyterlab-plotly:
https://www.npmjs.com/package/@jupyterlab/plotly-extension
https://www.npmjs.com/package/jupyterlab-plotly
Use this instead for your Plotly extension install;
jupyter labextension uninstall @jupyterlab/plotly-extension
jupyter labextension install jupyterlab-plotly
Most helpful comment
uninstalling
@jupyterlab/plotly-extensionsolved it for me. thanks!