ipywidgets icon indicating copy to clipboard operation
ipywidgets copied to clipboard

Duplicate results when displaying Javascript output

Open ssuleyma opened this issue 3 years ago • 0 comments
trafficstars

Description

The idea is to create an interactive dropdown widget that lists available py files and creates a new code cell in Jupyter notebook with content rendered from py file. I am able to do that but when I click run 2 duplicate code cells are generated instead of one. Screen Shot 2022-03-01 at 5 26 13 PM

Reproduce

N/A

  • ipywidgets version 7.6.5
  • Operating System and version: MacOS Monterey Version 12.2
  • Browser and version: Safari Version 15.3 / Firefox version 97
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` (or `jupyter notebook` if you use notebook) here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here.

If using JupyterLab

  • JupyterLab version:
Installed Labextensions
Paste the output from your command line running `jupyter labextension list`.

ssuleyma avatar Mar 02 '22 01:03 ssuleyma