Hi guys, I’m working on the financial application including a lot of time series data. I’ve figured out the dcc.Loading component always pop up immediately after an user moved the slider.
Is there any method to delay any callback in Dash?
Feel free to discuss, thanks all!
Here is the sample callback function:
@app.callback(
Output('graph', 'figure'),
Input('graph', 'relayoutData'),
State('graph', 'figure'),
prevent_initial_call=True,
)
def xxx(relayoutData, figure):
# ...
return figure