diff --git a/src/utils.jl b/src/utils.jl index 650f730b..280c6387 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -587,7 +587,28 @@ function has_attribute_segments(series::Series) end series[:seriestype] == :shape && return false # ... else we check relevant attributes if they have multiple inputs - return any((typeof(series[attr]) <: AbstractVector && length(series[attr]) > 1) for attr in [:seriescolor, :seriesalpha, :linecolor, :linealpha, :linewidth, :linestyle, :fillcolor, :fillalpha, :markercolor, :markeralpha, :markerstrokecolor, :markerstrokealpha]) || any(typeof(series[attr]) <: AbstractArray for attr in (:line_z, :fill_z, :marker_z)) + return any( + (typeof(series[attr]) <: AbstractVector && length(series[attr]) > 1) + for + attr in [ + :seriescolor, + :seriesalpha, + :linecolor, + :linealpha, + :linewidth, + :linestyle, + :fillcolor, + :fillalpha, + :markercolor, + :markeralpha, + :markersize, + :markerstrokecolor, + :markerstrokealpha, + :markerstrokewidth, + ] + ) || any( + typeof(series[attr]) <: AbstractArray for attr in (:line_z, :fill_z, :marker_z) + ) end function get_aspect_ratio(sp)