I have code which changes a dropdown menu every x seconds (5/10/20s etc). It does this by cycling through ~20 options.
I added the max_intervals entry for dcc.Interval to correspond with the number of options that are possible. However, when the code reaches the last number option, it stops updating on the interval. Is there a way to reset n_intervals to 0 after it reaches the last option, to cycle through the options again?