Skip to content

Commit

Permalink
Warn against using DelaunayMesh in CairoMakie
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Apr 23, 2024
1 parent ca6a850 commit 223ff64
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/interpolators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ Really fast interpolation that happens on the GPU (for GLMakie), so optimal for
!!! warning
`DelaunayMesh` won't allow you to add a contour plot to the topoplot.
!!! danger
`DelaunayMesh` will not behave accurately if rendered via CairoMakie, because Cairo (and SVG in general)
does not support color maps on meshes. The color within each triangle will be based only on the values
at the vertices, which causes inaccurate visuals.
"""
struct DelaunayMesh <: Interpolator
end
Expand Down

0 comments on commit 223ff64

Please sign in to comment.