AlgebraOfGraphics.jl
AlgebraOfGraphics.jl copied to clipboard
How can I hide the legend title?
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.
Try color = :Species => "" and then probably legend = (; titleposition = :left) in draw.