I'm trying to install jupyter-matplotlib extension but can't make it work in a jupyterlab instance.
Once installed by following the steps here:
https://github.com/matplotlib/jupyter-matplotlib
I get the error when executing a simple example:
Error displaying widget: model not found
Here's the output of my $ conda list
for relevant packages:
ipykernel 5.1.1
ipympl 0.2.1
ipython 7.6.1
ipython_genutils 0.2.0
ipywidgets 7.5.0
jupyter_client 5.3.1
jupyter_core 4.4.0
jupyterlab 1.0.2
jupyterlab_server 1.0.0
Solved! Turned out ipywidget 7.5 breaks jupyter lab and it isaffecting other libraries too.
https://github.com/plotly/plotly.py/issues/1659
downgrading to 7 solved the issue for me (allthough 7 wrt 7.5 should be backward compatibile)!
Also be sure to match ipympl 0.2.1 with jupyter-matplotlib 0.3.0 labextension.
jupyter labextension install [email protected]
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