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

Transparent background also sets axis/grid/etc transparency

Open eddieschoute opened this issue 5 years ago • 0 comments

Setting the background to transparent or false removes most supporting elements from the plot.

demo

boxplot(rand(50,2), background=false)

boxplot_bg

violin(rand(50,2), background=RGBA(0.5,0.5,0.5,0))

plot_background

This works fine (for pyplot pdf, not for GR pdf)

violin(rand(50,2), background=RGBA(1,1,1,0))

plot_background2

eddieschoute avatar Aug 06 '20 19:08 eddieschoute