I am new to Plotly.
import plotly.express as px
fig = px.bar(case_by_region, x=‘Year’, y=‘Total Count’, color=‘Country’, barmode=‘stack’, height=800)
fig.update_layout(
xaxis_type=‘category’,
title_text=‘Cases by Region for past 3 years’,
plot_bgcolor=‘rgba(0, 0, 0, 0)’,
title_x=0.5,
legend_orientation=“h”
)
I am wondering how to change the default color scheme?
Thanks,
David