ipywidgets icon indicating copy to clipboard operation
ipywidgets copied to clipboard

Refresh widget automatically

Open fschiffers opened this issue 2 years ago • 0 comments

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 display a new plot/image based on data which is drawn from an external source (e.g. stock market).

Currently, I'm simulating a "livestream" by just moving the slider whenever I'd like to have an update, but it requires me to move the mouse manually which is tedious.

Proposed Solution

It would be great if there were a function/widget (similar to sliders etc.) that just "refreshes" the visualization-method that is attached to the widget.

fschiffers avatar Oct 05 '22 15:10 fschiffers