allow row vector of arrows

This commit is contained in:
Daniel Schwabeneder 2019-06-11 23:15:59 +02:00
parent e9abb6d021
commit 8342da1ea2

View File

@ -1030,7 +1030,7 @@ function preprocessArgs!(plotattributes::KW)
arrow() arrow()
elseif a in (false, nothing, :none) elseif a in (false, nothing, :none)
nothing nothing
elseif !(typeof(a) <: Arrow) elseif !(typeof(a) <: Arrow || typeof(a) <: AbstractArray{Arrow})
arrow(wraptuple(a)...) arrow(wraptuple(a)...)
else else
a a