From 2e6143aac5cbe95bdb617d84851231ce610db855 Mon Sep 17 00:00:00 2001 From: Adrian Dawid Date: Fri, 14 Aug 2020 09:55:53 +0200 Subject: [PATCH] Update fallback recipie --- src/recipes.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/recipes.jl b/src/recipes.jl index 89b98eb2..14beefac 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -916,11 +916,11 @@ end # --------------------------------------------------------------------------- # mesh 3d replacement for non-plotly backends -@recipe function f(::Type{Val{:mesh3d}}, x, y, z; i=nothing,j=nothing,k=nothing) +@recipe function f(::Type{Val{:mesh3d}}, x, y, z) # As long as no i,j,k are supplied this should work with PyPlot and GR seriestype := :surface - if i != nothing || j != nothing || k != nothing - throw(ArgumentError("Giving triangles using i,j,k is only supported on Plotly backend.")) + if plotattributes[:connections] != nothing + throw(ArgumentError("Giving triangles using the connections argument is only supported on Plotly backend.")) end () end