Makie Draw on Colorbar

What I do is just put an axis into the same figure layout position as the colorbar, and assign the same limits as the colorrange has:

	Colorbar(fig[1,2]; colorrange, ...)
	Axis(fig[1,2], limits=(0..1, colorrange))
	hidedecorations!()
	scatter!(...)  # draws on this new axis

No internals, and approved by @jules on slack recently :slight_smile:

1 Like