Skip to content

Commit

Permalink
fix cellcolor numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fu committed Jun 18, 2024
1 parent 70e0847 commit 1361f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/makie.jl
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ end
function gridplot!(ctx, TP::Type{MakieType}, ::Type{Val{2}}, grid)
XMakie = ctx[:Plotter]

nregions = num_cellregions(grid)
nregions = num_cellcolors(grid, ctx[:cellcoloring])

nbregions = num_bfaceregions(grid)

Expand Down

0 comments on commit 1361f4e

Please sign in to comment.