From 3c401013f15770d11f2e1cb4ad1064c8df3b10cd Mon Sep 17 00:00:00 2001 From: bernd_uni Date: Wed, 30 Sep 2020 15:24:15 +0200 Subject: [PATCH] Further adaptions to make sticks-label behavior as expected --- src/recipes.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/recipes.jl b/src/recipes.jl index dff58648..a116cdff 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -280,11 +280,15 @@ end end fillrange := nothing seriestype := :path + if plotattributes[:marker_z] !== nothing && plotattributes[:line_z] == nothing + line_z := plotattributes[:marker_z] + end - # create a secondary series for the markers + # create a primary series for the markers if plotattributes[:markershape] != :none tmplabel = deepcopy(plotattributes[:label]) label := "" + primary := false @series begin seriestype := :scatter x := x