Why is my Plotly Bar chart greyed out?

Hi all!

New to Plotly. Started using it so I can use Dash.

Iโ€™m trying to do a simple stacked bar chart. It seems to work but the colours are all greyed out. Iโ€™ve tried changing the background colors but no success. When I do a line chart instead it looks fine.

Any help would be great!

fig = px.bar(psu_min, x='timestamp_utc_minute', y='count_players', color='registered_status')
fig.update_layout({
'plot_bgcolor': 'rgba(0, 0, 0, 0)',
'paper_bgcolor': 'rgba(0, 0, 0, 0)',
})

fig.show()
1 Like