I pretty often want to add a lot of traces where every n-th trace should have the same color. I know I could fix this by defining own colors and assigning them to e.g. the markers.
It would just be way more convenient if I could do sth like this:
fig.add_trace(…)
fig.add_trace(…)
fig.add_trace(…)
fix.reset_color_index()
fig.add_trace(…)
fig.add_trace(…)
fig.add_trace(…)
fix.reset_color_index()
…
with every third trace now having the same color.
Is there a way to do that?