From c72a4e42c368106ae69e48e3038ea8e10d29ba81 Mon Sep 17 00:00:00 2001 From: bernd_uni Date: Wed, 30 Sep 2020 15:01:54 +0200 Subject: [PATCH] Changed labeling-behaviour of :sticks --- src/recipes.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/recipes.jl b/src/recipes.jl index aac758a5..dff58648 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -283,6 +283,8 @@ end # create a secondary series for the markers if plotattributes[:markershape] != :none + tmplabel = deepcopy(plotattributes[:label]) + label := "" @series begin seriestype := :scatter x := x @@ -290,8 +292,8 @@ end if z !== nothing z := z end - label := "" - primary := false + label := tmplabel + primary := true () end markershape := :none