Black Lives Matter. Please consider donating to Black Girls Code today.

How to implement dynamic output callback for plotly graphs with dash

I am working with a multi dash application that has a set of plotly graph objects as inputs. I am using the plotly graph objects as outputs to a set of controls.

My structure is as follows. I request data via the requests library in python, I have been automate this that it requests data every 1 hour and the data points are changing dynamically every second. I would like my plots to be live. Unfortunately, I am seeing a static plot. I think the computation stops after the first return. How can I made my plotly graph dynamic update since it will continually request data every second

Perhaps take a look at dcc.Interval to fire a callback that could update your page periodically? https://dash.plotly.com/dash-core-components/interval