Dash Loading initial load only?

Hi. I have a dash app web page that gets updated once per minute. The figures are initially empty, and get plotted using the same callback as the timer. The first time view can be a little slow (e.g up to 10s), so ideally i’d wrap this page in a dcc.Loading element. However, that has the draw back that the loading element gets displayed for each subsequent callback (once a minute, for a few seconds), where in reality some line plots just get extended, so the loading animation is undesirable. Is there a way to only have the loading for the first view of the page, and disable it for later callbacks? Thanks in advance.

2 Likes

Yeah, it would be really nice to disable dcc.Loading when you have intervals… don’t know if it’s possible.

Did you ever find a solution or a workaround to this?