Dear all,
When I use AlgebraOfGraphics.jl, How can I hide the legend title? Here is an example.
using RDatasets, AlgebraOfGraphics, CairoMakie
df = dataset("datasets", "iris")
plt = data(df) * mapping(:Species, :SepalLength, color = :Species) * visual(Violin)
fg = draw(plt; legend = (position = :bottom, titlevisible = false, framevisible = false))
How can I hide the legend title “Species”? I try to use titlevisible = false
, but it does not work.
jules
2
Just a guess but could you try color = :Species => nothing
?
Oh yea, I think that (or an empty string) was the recommended workaround until a fix could be made upstream