-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plot comparison in a single figure not working for plots other than barplots #1298
Comments
@javier-coronel-snkeos You'll note that this is the stated behaviour. That said, it seems to make a lot of sense to use overlay for box-plots - We'll look into adding it to future versions. |
Thanks @ainoam for your reply. I see, good to know this will considered for future versions, maybe also considering histograms for those overlays? Not sure if its an expected behavior, but in the UI I can manage to compare boxplots in the same figure by doing the following:
Then the two plots are in the same figure. For me this seems more like a UI hack given that the url only includes the id of one of the datasets, and the embedded code of the figure shows the data of one plot and not the combined figure |
@javier-coronel-snkeos Definitely a hack-enabling bug :) |
Describe the bug
I find very useful the comparison of experiments and I'm trying to use this as well to get meaningful comparisons across different datasets.
However, the comparison of plots for the same kind of figure (histograms, boxplots) in two different dataset is not working as expected. Currently it's working only for barplots.
I'm using plotly to add the figures to a dataset.
To reproduce
Here's a snippet to reproduce the creation of a dataset with two plots (the figure above).
When comparing the datasets in the UI, the barplot shows the comparison of the two datasets in a single figure, nevertheless that doesn't happen for the boxplot figures:
Expected behaviour
Here's what I would expect of a boxplot comparison of two datasets for instance:
I would expect that a comparison of plots with the same name and type should be displayed in a single figure (which works for bar plots) instead of in two different figures.
I've tried with different parameters in the layout and arguments for plotly, but haven't been able to solve it. I would appreciate any help.
Environment
The text was updated successfully, but these errors were encountered: