Plots.jl: How can I get discrete colors in the colorbar of a heatmap?

Bump to ask the same question for other plotting packages such as Makie.jl or VegaLite.jl. After some quick tests I got the same continuous colorbar as above using these alternatives with no obvious options to change the behavior in the docs. Are discrete colormaps possible in other packages or does everything fall back on PlotUtils.jl (which doesn’t support this yet)?