Is there a way to have all traces sharing the same legendgroup have the same color?

Hi,
I have a multiple traces (thousands) sharing legend-groups.
Can I color all traces of the same legendgroup with one color?
I can manage it manually but hoped it can be done using some plotly flag

Thanks

Hi @yuriq as far as I know, there is no such thing, I searched for this option in the past but did not find anything.

1 Like

Hi, thanks so much for answering. I will resolve it manually.

1 Like