StatsPlots.jl icon indicating copy to clipboard operation
StatsPlots.jl copied to clipboard

`groupedboxplot` `bar_width` broken - and it's not in the readme

Open mkborregaard opened this issue 5 years ago • 3 comments

a = rand(1:5, 100)
b = rand(1:5, 100)
c = randn(100)
using StatsPlots
plot(
       groupedboxplot(a, c, group = b),
       groupedboxplot(a, c, group = b, bar_width = 0.8)
       , legend = false, size = (700, 300)
)
Skærmbillede 2019-06-24 kl  19 59 27

mkborregaard avatar Jun 24 '19 18:06 mkborregaard

First, thank you very much for this package! I really like it! bar_width seems to work again, but I am having problems with color.

using Plots
using StatsPlots

a = rand(1:5, 100)
b = rand(1:5, 100)
c = randn(100)
groupedboxplot(a, c, group = b, color=[:green, :red])

test

nmheim avatar Oct 01 '19 12:10 nmheim

Pass series arguments as row matrix color=[:green :red]

mkborregaard avatar Oct 01 '19 20:10 mkborregaard

oh great, thank you!

nmheim avatar Oct 02 '19 09:10 nmheim