Skip to content

Commit

Permalink
Fix the barycentric example rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 authored Jul 10, 2024
1 parent 8bca445 commit d778153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/methods/barycentric.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ polygon_points = Point3f[
# Plot it!
# First, we'll plot the polygon using Makie's rendering:
f, a1, p1 = poly(
polygon_points;
Point2d.(polygon_points);
color = last.(polygon_points),
colormap = cgrad(:jet, 18; categorical = true),
axis = (;
Expand Down

0 comments on commit d778153

Please sign in to comment.