Open SimonEnsemble opened 3 years ago
ohhhh, I see how now. lmk if a PR is welcome with an example like this in the docs.... :smile:
for (i, df_by_species) in enumerate(groupby(df_iris, :Species))
boxplot!(i * ones(nrow(df_by_species)), df_by_species[:, :PetalLength])
end
seems to me
boxplot
could be simplified by taking in an array of arrays?then e.g. plotting three boxes for the petal length of the iris data set, grouped by species, is as easy as:
right now it's not too trivial to make this.
another thing: seems I cannot make the boxes three different colors, unless I use
dodge
.full code needed to see petal length distributions grouped by species: