From f73f9f1074b7fcb80eaba555ed3af49882f2e4c7 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Mon, 9 Oct 2017 08:21:26 +0200 Subject: [PATCH] check if series has markers --- src/pipeline.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pipeline.jl b/src/pipeline.jl index 223ae5af..daa58486 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -100,14 +100,14 @@ function _process_userrecipe(plt::Plot, kw_list::Vector{KW}, recipedata::RecipeD plt.n += 1 kw[:series_plotindex] = plt.n - if get(kw, :seriestype, :path) == :bar - # errorbar in front of bars - push!(kw_list, kw) - _add_errorbar_kw(kw_list, kw) - else + if get(kw, :markershape, :none) != :none || get(kw, :seriestype, :path) in (:scatter, :scatterhist) # errorbar behind markers and lines etc. _add_errorbar_kw(kw_list, kw) push!(kw_list, kw) + else + # errorbar in front of bars + push!(kw_list, kw) + _add_errorbar_kw(kw_list, kw) end _add_smooth_kw(kw_list, kw) return