How to remove surrounding box of the legend in Plots.jl?
2 Likes
3 Likes
Use foreground_color_legend = nothing
to set the frame color to transparent (likewise for background_color_legend
).
13 Likes
Thank you very much! it worked
Do you know how to make the background of the legend to be transparent?
Does the suggestion two posts above not work for you?
It’s possible to remove all the background, but I didn’t find a way to make it semi-transparent.
My best guess is passing something like RGBA
as colour, I am pretty sure it’s supported: Construction and Conversion · Colors
Thank you! It works!