diff --git a/src/args.jl b/src/args.jl index 095c7806..fc64b2f3 100644 --- a/src/args.jl +++ b/src/args.jl @@ -1536,7 +1536,7 @@ function _replace_linewidth(d::KW) end end -function _slice_kw!(d::KW, commandIndex::Int) +function _slice_attribute_cycles!(d::KW, commandIndex::Int) for (k,v) in d slice_arg!(d, d, k, v, commandIndex, false) end diff --git a/src/plot.jl b/src/plot.jl index 57e8df21..bbf7ac2e 100644 --- a/src/plot.jl +++ b/src/plot.jl @@ -221,8 +221,7 @@ function _plot!(plt::Plot, d::KW, args::Tuple) # # we update subplot args in case something like the color palatte is part of the recipe # _update_subplot_args(plt, sp, kw, idx, true) - # select from attribute cycles - _slice_kw!(kw, command_idx(kw_list,kw)) + _slice_attribute_cycles!(kw, command_idx(kw_list,kw)) # now we have a fully specified series, with colors chosen. we must recursively handle # series recipes, which dispatch on seriestype. If a backend does not natively support a seriestype,