ipywidgets
ipywidgets copied to clipboard
Interactive Widgets for the Jupyter Notebook
Investigating an issue in https://github.com/voila-dashboards/voila/pull/846 where using an `interactive_output` would trigger the following error: ``` TypeError: Cannot read properties of undefined (reading 'sessionContext') ``` https://github.com/voila-dashboards/voila/pull/846 uses the JupyterLab packages but...
I've seen several Jupyter projects adopt precommit (thanks @blink1073!). For fun, I copied JupyterLab's precommit file and tried it out here.
I wanted to get the current value of a widget slider from a function without using multitheading. There are some related examples regarding asynchronous widgets but I could not figure...
No hurry on merging this. I realized after doing a bit of this that converting the promise syntax to async/await throughout the code would be a good exercise for someone...
Currently, all widgets created through the life of the kernel are referenced in a map Widgets.widgets. That map grows if the widgets are not closed down explicitly. It should be...
I'm primarily looking for clarification on the `_model_module_version` which is included in the model state. In https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/migration_guides.md#updating-the-client-side-code it states: > For embedding to work correctly, the module version needs to...
I am trying to make a widget which saves state to cell metadata. To do it I need to know current cell or to know the cell widget view is...
This PR fixes kernel side memory leaks and makes some performance tweaks. The primary user facing change is that invalid/closed children in boxes are quietly dropped. Features: - [x] Fixes...
Today, I was wondering how to not accidentally commit my open AI key when passing it to a widget. Even when I import it from another python file that is...
It might be a silly use case, but I noticed that if we are using `Output` widget under IPython's `%%capture` magic or `capture_output` contextmanger, it cannot capture `print` which goes...