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

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.