molplotly icon indicating copy to clipboard operation
molplotly copied to clipboard

Stacked Bar chart or multiple traces?

Open rometki opened this issue 3 years ago • 0 comments

Hi,

Thanks for sharing this, it's great!

Is there a way to display mols in a stacked bar plot? The stacked bars use separate columns for the y-axis, not a shared facet column.

Or are there any examples where it's used on more than one trace per plot (like add_trace with plotly go)?

Attached some plotly code and a test set if that helps!

Thanks,

fig=px.bar(
    data_frame = df,
    x = "Identifier",
    y = ['Conc1',''Conc2','Conc3'],
    barmode = 'stack'

Test Data.csv

rometki avatar Apr 04 '23 22:04 rometki