We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ca3459 commit 0d1fa87Copy full SHA for 0d1fa87
ext/grid/transformed.jl
@@ -30,7 +30,7 @@ function vizgrid!(plot::Viz{<:Tuple{TransformedGrid}}, M::Type{<:𝔼}, pdim::Va
30
31
nverts = Makie.@lift length($verts)
32
nquads = Makie.@lift length($quads)
33
- ncolor = Makie.@lift length($colorant)
+ ncolor = Makie.@lift $colorant isa AbstractVector ? length($colorant) : 1
34
35
dims = Makie.@lift size($tgrid)
36
texture = if ncolor[] == 1
0 commit comments