【问题标题】:Legend labels not appearingLegend labels not appearing
【发布时间】:2022-11-09 11:29:30
【问题描述】:

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"
)

    标签: makie.jl


    【解决方案1】:

    Try adding this: axislegend(ax)

      猜你喜欢
      • 2022-12-27
      • 1970-01-01
      • 1970-01-01
      • 2022-12-02
      • 2022-12-02
      • 2013-08-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多