In Plotly 4.1.0 I no longer know how to access the color of a trace.
Take this example:
fig = go.Figure() fig.add_scatter(y=[1,4,2]) fig.add_scatter(y=[3,2,5]) fig.layout.update(showlegend=False) fig.show()
How do I set the same color for both traces?
Is there a list of colors named and ordered as they appear when used in multiple-trace plots?