fix slicing

This commit is contained in:
Simon Christ 2021-11-18 16:26:55 +01:00
parent 91eacd21a7
commit e099e03164

View File

@ -1743,7 +1743,7 @@ function slice_arg!(
) )
v = get(plotattributes_in, k, plotattributes_out[k]) v = get(plotattributes_in, k, plotattributes_out[k])
plotattributes_out[k] = plotattributes_out[k] =
if haskey(plotattributes_in, k) && typeof(v) <: AMat && !isempty(v) if haskey(plotattributes_in, k) && typeof(v) <: AMat && !isempty(v) && !(k in _plot_args)
slice_arg(v, idx) slice_arg(v, idx)
else else
v v