From 5916055eeb723c0b4d2273370bcc488ad8cb08f3 Mon Sep 17 00:00:00 2001 From: Adrian Dawid Date: Thu, 13 Aug 2020 21:10:28 +0200 Subject: [PATCH] Small bugfix --- src/backends/plotly.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index c7cf49ae..1aff3a6d 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -578,7 +578,7 @@ function plotly_series(plt::Plot, series::Series) if series[:connections] != nothing if typeof(series[:connections]) <: Tuple{Array,Array,Array} i,j,k = series[:connections] - if length(i) == length(j) == length(k) + if !(length(i) == length(j) == length(k)) throw(ArgumentError("Argument connections must consist of equally sized arrays.")) end plotattributes_out[:i] = i