StatsPlots.jl
StatsPlots.jl copied to clipboard
How to specify fillcolor for violin plots?
How can one specify the fillcolor
for violin plots?
violin(rand(100,4), label=false, fillcolor=palette([:purple, :green], 4))
produces four violins that are all purple rather than going through the palette.
This is on Julia 1.9.1 and StatsPlots v0.15.5.
In case someone chances by this issue while looking for this feature: there is a hacky workaround until StatsPlots properly supports this feature - attaching a PDF of a Pluto notebook until such a time as when Github will accept .jl
files.