However when I render as an svg the colour bar goes black. Image and MWE below
using CairoMakie
a = rand(10,10)
f = Figure();
ax = Axis(f[1,1])
hm = CairoMakie.heatmap!(ax,a)
Colorbar(f[:, end+1], hm)
f
# Render as SVG
CairoMakie.activate!(type = "svg")
f
I suspect it’s that the colorbar is a 1-pixel wide image. Somebody could try and see if that’s actually the problem, if so there would be several options for workarounds