Skip to content

Jupyter Lab: Error displaying widget: model not found #255

Closed
@tecamenz

Description

@tecamenz

Describe the issue

I'm using the Jupyter Lab widget to generate interactive plots. So fare, plotting works nicely. There is only one problem: If I save the notebook, close the kernel and reopen the notebook the next day, all plots are gone and I only see the message "Error displaying widget: model not found". Is this expected behavior?

Versions

ipympl version: 0.5.7
jupyter core     : 4.6.3
jupyter-notebook : 6.1.1
qtconsole        : not installed
ipython          : 7.17.0
ipykernel        : 5.3.4
jupyter client   : 6.1.6
jupyter lab      : 2.2.2
nbconvert        : 5.6.1
ipywidgets       : 7.5.1
nbformat         : 5.0.7
traitlets        : 4.3.3
Known nbextensions:
  config dir: C:\Users\Cam\miniconda3\envs\oposad\etc\jupyter\nbconfig
    notebook section
      jupyter-matplotlib/extension enabled
      - Validating: ok
      jupyter-js-widgets/extension enabled
      - Validating: ok
JupyterLab v2.2.2
Known labextensions:
   app dir: C:\Users\Cam\miniconda3\envs\oposad\share\jupyter\lab
        @jupyter-widgets/jupyterlab-manager v2.0.0 enabled  ok
        jupyter-matplotlib v0.7.3 enabled  ok

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions