Merge pull request #1282 from wkearn/wsk/scale-fix
Update iterator properly in _subplot_setup
This commit is contained in:
commit
df63530b89
@ -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
|
# extract subplot/axis attributes from kw and add to sp_attr
|
||||||
attr = KW()
|
attr = KW()
|
||||||
for (k,v) in kw
|
for (k,v) in collect(kw)
|
||||||
if haskey(_subplot_defaults, k) || haskey(_axis_defaults_byletter, k)
|
if haskey(_subplot_defaults, k) || haskey(_axis_defaults_byletter, k)
|
||||||
attr[k] = pop!(kw, k)
|
attr[k] = pop!(kw, k)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user