From a13e137770fae9754f30ea9b943e0d833ab76316 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Sun, 27 Sep 2020 21:59:10 +0200 Subject: [PATCH] !== nothing --- src/backends/plotly.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index 7a7d1cfa..fe2af1fc 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -595,9 +595,9 @@ function plotly_series(plt::Plot, series::Series) elseif st == :mesh3d plotattributes_out[:type] = "mesh3d" plotattributes_out[:x], plotattributes_out[:y], plotattributes_out[:z] = x, y, z - - if series[:connections] != nothing - if typeof(series[:connections]) <: Tuple{Array,Array,Array} + + if series[:connections] !== nothing + if typeof(series[:connections]) <: Tuple{Array,Array,Array} i,j,k = series[:connections] if !(length(i) == length(j) == length(k)) throw(ArgumentError("Argument connections must consist of equally sized arrays."))