How to set resolution in GLMakie.mesh()?


I am trying to change the resolution of a 2D mesh plot:

scene = GLMakie.mesh(vertices, faces, color = colors, shading = false, resolution=(500,500))

However, this does not appear to work, it always defaults to 800x600. No errors being cast.

I don’t know what the one line version of it is but you can use

fig = Figure(resolution = (500, 500))
ax = Axis(fig[1, 1])
mesh!(ax, vertcies, faces, color = colors, shading = false)