Quick question about live updates. I used the example at https://plot.ly/dash/live-updates to build the following app (on heroku): https://safe-island-13543.herokuapp.com. I set the interval to 5 seconds, but then it takes 5 seconds for the graph to render the first time. The data in my database gets updated every 15 minutes, so there is no reason to use such a short interval. Does anyone have an example of this I could follow?
I was having the same issue, thanks for the solution.
One problem though: I can’t have a callback on the generate_figure function. Currently, I just write the same function two times, once with the callback and once without. Is there some cleaner workaround for that?