I just ran into the age old problem of wanting to plot bar histograms (using StatsPlots.jl) from multiple series of data as a grouped bar plot (i.e bars from different series appearing next to each other in each bin).
Afaik there is a constraint that for a grouped bar plot to happen, all series must have the exact same x-axis (the bins), or have I gotten that wrong?
If not, is there any built in convenince to do this nowadays?
What I’ve done in the past is to just go through all series and find the global max and min and then fit a histogram for each series using a fixed number of bins.
I guess one drawback is that you just have to throw out all the auto-binning stuff that StatsPlots/StatsBase does and implement your own or just try different number of bins for each plot until the histograms look good, which is not ideal given that I want to do this in an automatic report generation tool.