jupyter-widgets / ipywidgets

Interactive Widgets for the Jupyter Notebook
https://ipywidgets.readthedocs.io
BSD 3-Clause "New" or "Revised" License
3.17k stars 949 forks source link

weakref to enable gc + setting children with iterable + fix various tooltips #3921

Open fleming79 opened 6 months ago

fleming79 commented 6 months ago

Replaces https://github.com/jupyter-widgets/ipywidgets/pull/3893. Commits have been tidied up.

Resolves

github-actions[bot] commented 6 months ago

Binder :point_left: Launch a binder notebook on branch fleming79/ipywidgets/weakref

fleming79 commented 2 months ago

@vijayi1 Thanks for pointing that out. Attached are files for the latest .

files.zip

vijayi1 commented 2 months ago

@fleming79 , the fix works for me, thanks. the table below summarizes the behavior with and without the fix for the text, dropdown, checkbox and button widgets. (note line 3, the behavior was inconsistent across widgets previously. if someone expects nothing to be displayed, with the fix they would have to set the tooltip to an empty string)

image