wjm41 / molplotly

add-on to plotly which show molecule images on mouseover!
Apache License 2.0
242 stars 25 forks source link

Stacked Bar chart or multiple traces? #26

Open rometki opened 1 year ago

rometki commented 1 year ago

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