!== nothing
This commit is contained in:
parent
23b852da8f
commit
a13e137770
@ -595,9 +595,9 @@ function plotly_series(plt::Plot, series::Series)
|
|||||||
elseif st == :mesh3d
|
elseif st == :mesh3d
|
||||||
plotattributes_out[:type] = "mesh3d"
|
plotattributes_out[:type] = "mesh3d"
|
||||||
plotattributes_out[:x], plotattributes_out[:y], plotattributes_out[:z] = x, y, z
|
plotattributes_out[:x], plotattributes_out[:y], plotattributes_out[:z] = x, y, z
|
||||||
|
|
||||||
if series[:connections] != nothing
|
if series[:connections] !== nothing
|
||||||
if typeof(series[:connections]) <: Tuple{Array,Array,Array}
|
if typeof(series[:connections]) <: Tuple{Array,Array,Array}
|
||||||
i,j,k = series[:connections]
|
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."))
|
throw(ArgumentError("Argument connections must consist of equally sized arrays."))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user