Plotting Multiple Boxplots

I’m trying to generate two boxplots side by side in the same graph but I’m running into an unexpected issue. When trying to run the code below i get the following error:

“LoadError: BoundsError: attempt to access 1-element Array{Float64,1} at index [2]”

Here’s the code:

using Plots

boxplot(rand(10)) # this renders fine
boxplot!(rand(10))  # this line causes it to crash

It’s a known issue, reported here

1 Like