fix legend entries

This commit is contained in:
Simon Christ 2021-05-18 22:09:56 +02:00
parent 2f16671975
commit 6b55b83abc

View File

@ -452,7 +452,7 @@ function pgfx_add_series!(::Val{:path}, axis, series_opt, series, series_func, o
),
)
end
pgfx_add_legend!(axis, series, opt, i)
pgfx_add_legend!(axis, series, opt, k)
end # for segments
# get that last marker
if !isnothing(opt[:y]) && !any(isnan, opt[:y]) && opt[:markershape] isa AVec