-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter Lab: Error displaying widget: model not found #255
Comments
EDIT: you do have to run the cell again to re-render the plot 💯 There's a more helpful bit from the plain notebook (localhost:8888/tree) when cold restarting a kernel: "A Jupyter widget could not be displayed because the widget state could not be found. This could happen if the kernel storing the widget is no longer available, or if the widget state was not saved in the notebook. You may be able to create the widget by running the appropriate cells." jupyter lab will just give the "model not found" errors (one for the plot, one for the control) and not render the static plot (the plain notebook will render the static image and give the verbose control error) I've been seeing similar flakiness. I had widgets working a couple days ago in stock defaults conda base env, then I touched it. Just managed to get a conda env working by installing from that pure defaults base env with: conda create --name forge working testcase:
|
So this is expected behavior and no way the last state of the plots can be saved in the notebook? If so, I think this is an important feature to add don't you think? |
Thanks. This is a known issue, closing as duplicate of #16. |
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
The text was updated successfully, but these errors were encountered: