Update fallback recipie
This commit is contained in:
parent
26b88e28fd
commit
2e6143aac5
@ -916,11 +916,11 @@ end
|
|||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# mesh 3d replacement for non-plotly backends
|
# 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
|
# As long as no i,j,k are supplied this should work with PyPlot and GR
|
||||||
seriestype := :surface
|
seriestype := :surface
|
||||||
if i != nothing || j != nothing || k != nothing
|
if plotattributes[:connections] != nothing
|
||||||
throw(ArgumentError("Giving triangles using i,j,k is only supported on Plotly backend."))
|
throw(ArgumentError("Giving triangles using the connections argument is only supported on Plotly backend."))
|
||||||
end
|
end
|
||||||
()
|
()
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user