From eb6c15caba4746ef0bef78a458f20dea664e4cc1 Mon Sep 17 00:00:00 2001 From: Will Kearney Date: Tue, 5 Dec 2017 13:12:10 -0500 Subject: [PATCH] Update iterator properly This seems to fix #1266 --- src/pipeline.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipeline.jl b/src/pipeline.jl index e8607337..8dc475cb 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -264,7 +264,7 @@ function _subplot_setup(plt::Plot, d::KW, kw_list::Vector{KW}) # extract subplot/axis attributes from kw and add to sp_attr attr = KW() - for (k,v) in kw + for (k,v) in collect(kw) if haskey(_subplot_defaults, k) || haskey(_axis_defaults_byletter, k) attr[k] = pop!(kw, k) end