From 8554e632bdc57440ba6dc5a57f01c5d83533e15c Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sat, 8 Feb 2020 23:49:50 +0100 Subject: [PATCH] more reset_kw!s --- src/pipeline.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pipeline.jl b/src/pipeline.jl index 693e0b56..1e9cd991 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -10,7 +10,7 @@ end function _expand_seriestype_array(plotattributes::AKW, args) sts = get(plotattributes, :seriestype, :path) if typeof(sts) <: AbstractArray - delete!(plotattributes, :seriestype) + reset_kw!(plotattributes, :seriestype) rd = Vector{RecipeData}(undef, size(sts, 1)) for r in axes(sts, 1) dc = copy(plotattributes) @@ -46,7 +46,7 @@ function _preprocess_args(plotattributes::AKW, args, still_to_process::Vector{Re _axis_defaults_byletter[:y], _axis_defaults_byletter[:z]) if haskey(defdict, k) - delete!(plotattributes, k) + reset_kw!(plotattributes, k) end end end