Legend labels not appearing

Viewed 10

I am attempting to do some line plots using Makie.jl but the legend doesnt appear when I pass a value to the label argument. Any idea why?

using GLMakie: lines, lines!

p,ax, l = lines(
    rand(10),
    label = "label 1"
)

lines!(
    rand(10),
    label = "label 2"
)

enter image description here

0 Answers
Related