Skip to content

Commit

Permalink
add warning - enhance example
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bltg committed Jul 5, 2021
1 parent 81170b4 commit ff290c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/backends/gr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1863,6 +1863,7 @@ function gr_draw_surface(series, x, y, z, clims)
GR.setfillcolorind(0)
GR.surface(x, y, z, get(e_kwargs, :display_option, GR.OPTION_FILLED_MESH))
elseif st === :mesh3d
@warn "mesh3d support is experimental in GR"
conn = series[:connections]
if typeof(conn) <: Tuple{Array, Array, Array}
ci, cj, ck = conn
Expand Down
2 changes: 1 addition & 1 deletion src/examples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ const _examples = PlotExample[
k=[2, 3, 1, 3]

# the four triangles gives above give a tetrahedron
mesh3d(x,y,z;connections=(i,j,k))
mesh3d(x, y, z; connections=(i, j, k), title="triangles", legend=:none, margins=2Plots.mm)
end
),
],
Expand Down

0 comments on commit ff290c3

Please sign in to comment.