ipywidgets
ipywidgets copied to clipboard
Interactive Widgets for the Jupyter Notebook
``` import ipywidgets as widgets from IPython.display import display a = widgets.ToggleButtons(options=['A', 'B']) a.style.button_width = '70px' display(a) b = widgets.ToggleButton(description='A') b.layout.width = '70px' display(b) ```  I'd assumed a `ToggleButton`...
## Description I am the developer of a [jupyter widgets](https://github.com/flekschas/jupyter-scatter) and I noticed that my widget started to fail with ipywidgets v8 and/or jupyterlab-widgets v3. (What happened to jupyterlab-widgets v2...
## Description Unable to display button. Get "Error displaying widget" error  ## Reproduce Create a new User Managed Notebook (Google Cloud) ``` import ipywidgets as widgets test_button = widgets.Button(value='Press...
I would like FloatSlider and the other sliders to display a scaled version of the value being changed. For example, I would like to be able to create a slider...
Some were simple and some were not
## Description In google colab: I display a `GridBox` widget and I play around with the `grid_template_areas`. In particular, I set up an 2x1-Gridbox, but specify three `children=[header, main, btn_reverse]`....
Is it possible to reduce the empty space (see the red rectangle below) between a slider and readout text? My current workaround is use disable the readout and add another...
### Problem I'd like to have widgets that update with a defined refresh rate, e.g., every second. This could, e.g., be used to monitor data live from a sensor or...
Bumps [d3-color](https://github.com/d3/d3-color) from 3.0.1 to 3.1.0. Release notes Sourced from d3-color's releases. v3.1.0 Add rgb.clamp and hsl.clamp. #102 Add color.formatHex8. #103 Fix color.formatHsl to clamp values to the expected range....
Gives a ~25-30% performance boost for creating widgets (benchmarking against 1000 buttons) by * not having comm a trait (no need for this) * doing less for every instance (and...