ipywidgets
ipywidgets copied to clipboard
Interactive Widgets for the Jupyter Notebook
I'm using this example of data range slider: https://stackoverflow.com/a/50506926/2230844 But I would like to add the scrolling capability for the slider itself, i.e. move the range right/left without changing its...
Just normal build, install and test cycle used on building package from non-root account: - "setup.py build" - "setup.py install --root " - "pytest with PYTHONPATH pointing to setearch and...
### Problem When I want to make any class behave like an ipywidget, it is not straight-forward. Suppose I have some class `A` and I want it to work like...
Looking at https://discuss.python.org/t/a-test-design-pattern-to-reuse-integration-tests-on-newly-built-distribution-packages/17006 and https://hynek.me/articles/testing-packaging/, it seems recommended practice is: 1. Put your python source inside a non-importable src/ directory 2. Move your python tests up to the top-level directory...
I ran into some problems using ipywidgets and `voila` when I upgraded to ipywidgets 8.0.2. Effectively I no longer see any of the widgets, e.g. buttons when deploying with Voila....
I noticed @aarondr77 had to put in an interesting workaround for a typescript type that apparently changed from ipywidgets 7 to ipywidgets 8 when they were porting mito to work...
In our use case, the idea is to popup an **TextArea** when an error occurred in an asynchronous process and to hide it when the error condition disappears. The implementation...
To be able to show 'raw' numpy arrays, we could support rgb and rgba format. I propose that the [format trait](https://github.com/jupyter-widgets/ipywidgets/blob/ee16fb847e5b16e024fccc0fbd36a98d64918819/ipywidgets/widgets/widget_image.py#L43) support 'rgb' and 'rgba', which assumed the value contains...
This is an initial attempt to migrate our packaging from jupyter-packaging to hatch, as recommended at https://github.com/jupyter/jupyter-packaging#jupyter-packaging For now, I've basically just run the migration scripts (which was so easy!...
## Description I sometimes see a message "Comm is already created" ## Reproduce Patch widget.py: ```python @classmethod def _handle_control_comm_msg(cls, msg): # This shouldn't happen unless someone calls this method manually...