A few months ago, I built a Docker image to allow me to run experiments with JupyterLab and Plotly. I use FigureWidgets extensibly to build mini-dashboards (VBox, etc).
Today I had to rebuild the docker image as I modified one of the early lines in the DockerFile.
Since then, every attempt to plot a FigureWidget returns an
Error displaying widget: model not found error.
I followed the Getting Started to update to the latest version of the extensions, and now my docker file contains:
ENV NODE_OPTIONS=--max-old-space-size=4096 RUN jupyter labextension install @email@example.com --no-build \ && jupyter labextension install firstname.lastname@example.org --no-build \ && jupyter labextension install email@example.com --no-build \ && jupyter labextension install @aquirdturtle/collapsible_headings --no-build \ && jupyter labextension install @jupyterlab/toc --no-build \ && jupyter labextension install jupyterlab-python-file --no-build \ && jupyter lab build
When checking extensions within jupyterlab, here’s what I’m getting:
JupyterLab v1.2.0 Known labextensions: app dir: /usr/local/share/jupyter/lab @aquirdturtle/collapsible_headings v0.5.0 enabled OK @jupyter-widgets/jupyterlab-manager v1.1.0 enabled OK @jupyterlab/toc v2.0.0 enabled OK jupyterlab-plotly v1.5.4 enabled OK jupyterlab-python-file v0.3.0 enabled OK plotlywidget v1.5.4 enabled OK
However, whilst I can use the go.Figure() function fine, using go.FigureWidget() still returns that same error.
Unfortunately, as stated above, I cannot swap my code from FigureWidget, as I use the Widget functionality a lot to add sub-plots and to do vertical boxing