From c0c47f2fbc0f46a82261a314fc2566d8c2df17ff Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Thu, 7 May 2020 16:22:50 +0200 Subject: [PATCH] fix plots with no seriestype --- src/pipeline.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipeline.jl b/src/pipeline.jl index 5b8a4a35..146facbd 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -160,7 +160,7 @@ end function RecipesPipeline.process_sliced_series_attributes!(plt::Plots.Plot, kw_list) # swap errors - err_inds = findall(kw -> kw[:seriestype] in (:xerror, :yerror, :zerror), kw_list) + err_inds = findall(kw -> get(kw, :seriestype, nothing) in (:xerror, :yerror, :zerror), kw_list) for ind in err_inds if kw_list[ind-1][:seriestype] == :scatter tmp = copy(kw_list[ind])