Cosmetic changes

This commit is contained in:
Adrian Dawid 2020-08-14 13:08:00 +02:00
parent e1dda97776
commit 75e13f373e
2 changed files with 4 additions and 4 deletions

View File

@ -331,9 +331,9 @@ function _override_seriestype_check(plotattributes::AKW, st::Symbol)
if !RecipesPipeline.is3d(st) && !(st in (:contour, :contour3d))
z = plotattributes[:z]
if !isa(z, Nothing) &&
(size(plotattributes[:x]) == size(plotattributes[:y]) == size(z))
(size(plotattributes[:x]) == size(plotattributes[:y]) == size(z))
st = (st == :scatter ? :scatter3d : :path3d)
plotattributes[:seriestype] = st
plotattributes[:seriestype] = st
end
end
st

View File

@ -320,9 +320,9 @@ julia> scatter3d([0,1,2,3],[0,1,4,9],[0,1,8,27])
"""
mesh3d(x,y,z)
mesh3d(x,y,z;i,j,k)
mesh3d(x,y,z; connections)
Plot a 3d mesh. On Plotly the triangles can be specified using the i,j,k arguments.
Plot a 3d mesh. On Plotly the triangles can be specified using the connections argument.
# Example
```Julia