✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Dash interval update fails after some time, everything else continues to work

I’ve written a Dash app with three auto-updating plots, one of which may contain up to four subplots, all of which update every second while a daemon localizes data from a network stream. This was fully functioning until the recent update to Plotly 3. A couple things were deprecated which I quickly fixed, yet now I am encountering an issue with the auto-updating. After some time, anywhere from 1 minute to 30 minutes, the auto-update will suddenly stop working.

The confusing bit is that when I select different parameters from the dropdowns which control what data is shown, the plots will update with the newest data from the stream. It’s as if the plots stop responding to the interval callback, and only respond to the dropdowns’ callbacks, and it only happens after an arbitrary amount of time, which seems to be loosely related to the amount of data shown on the plots (choosing to see more parameters seems to make the auto-update fail sooner).

Has anyone else encountered a similar issue? Any information would be very much appreciated!

Hm… it could ben related to https://github.com/plotly/dash-core-components/issues/208. Are there any errors in the browser’s console?

Tried closing all but that tab to no avail, so I don’t think that’s it. Also, the app doesn’t crash entirely - it still responds to all inputs, just doesn’t auto-update - so I don’t think there will be errors in the console, though I’ll check. Thanks.