Skip to content
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

ipywidgets in frozen cell are duplicated every time notebook is reloaded. #10

Open
shingo78 opened this issue Oct 6, 2017 · 2 comments

Comments

@shingo78
Copy link
Contributor

shingo78 commented Oct 6, 2017

  1. Make the widget
    image
  2. Save the notebook and reload
    image
  3. Save the notebook and reload again
    image

I assume that it is because CodeCell.clear_output function is not working in frozen cell by #7.
Notebook.render_cell_output function calls clear_output function.
https://github.com/jupyter/notebook/blob/5.0.0/notebook/static/notebook/js/notebook.js#L1685
ipywidgets calls Notebook.render_cell_output function for rendering widget.

@yacchin1205
Copy link
Contributor

Also occurred on Notebook 5.7.0

@horietakehiro
Copy link

The exact same issue happens in the latest versions.

niicloudoperation/notebook:202201

jupyter core     : 4.7.1
jupyter-notebook : 6.3.0
qtconsole        : not installed
ipython          : 7.23.1
ipykernel        : 5.5.4
jupyter client   : 6.1.12
jupyter lab      : 3.0.14
nbconvert        : 6.0.7
ipywidgets       : 7.6.3
nbformat         : 5.1.3
traitlets        : 5.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants