Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

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