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

Update only via bottom slider

I currently am using the bottom slider to trigger a callback. However, when using the slider on the large graph, it also triggers the callback. I’m looking for a way to use either an if statement or for the Input to callback only when the bottom sliders are moved rather than updating as long as there is some selection on the graph.

Currently, I am using

if (relay_data is not None and ‘xaxis.range’ in relay_data):

for my if statement and ‘relayoutData’ as the input.

Is there a way to only do something when the bottom slider is moved and not when the slider for zooming/focusing on the graph at the top?