Makie contourf behaviour depends on levels type

Hi,

The look of Makie contourf changes when I pass an Int level (levels=10) or a range (levels=
levels = -0.75:0.25:0.5) as one can see on the documentation.

https://makie.juliaplots.org/stable/examples/plotting_functions/contourf/

The later add a white space around the contour).

Is it intentional ? I can I remove this space ?

It’s because manual levels can result in round shapes that don’t look good with tight limits. You can call tightlimits!(ax) to achieve the same

1 Like

Thank a lot @jules !