From 1963cee94a6e9d00a46a12b1ce365e5985ab40ad Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Mon, 11 May 2020 16:51:38 +0200 Subject: [PATCH] fix it again (#2694) --- src/pipeline.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pipeline.jl b/src/pipeline.jl index 146facbd..4c8483b7 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -160,9 +160,9 @@ end function RecipesPipeline.process_sliced_series_attributes!(plt::Plots.Plot, kw_list) # swap errors - err_inds = findall(kw -> get(kw, :seriestype, nothing) in (:xerror, :yerror, :zerror), kw_list) + err_inds = findall(kw -> get(kw, :seriestype, :path) in (:xerror, :yerror, :zerror), kw_list) for ind in err_inds - if kw_list[ind-1][:seriestype] == :scatter + if get(kw_list[ind-1],:seriestype,:path) == :scatter tmp = copy(kw_list[ind]) kw_list[ind] = copy(kw_list[ind-1]) kw_list[ind-1] = tmp