From the docs https://docs.makie.org/stable/reference/blocks/colorbar#Experimental-Categorical-support , no matter what, the tick labels of the colorbar become floats.
using CairoMakie
fig, ax, pl = barplot(1:3; color=1:3, colormap=Makie.Categorical(:viridis))
Colorbar(fig[1, 2], pl, ticks = ([1,2,3], string.([1, 2, 3])))
fig
even though I explicitly set them to a totally different string than "1.0".

]st -m Makie): 0.24.9]activate --temp; add Makie) YESFrom the docs https://docs.makie.org/stable/reference/blocks/colorbar#Experimental-Categorical-support , no matter what, the tick labels of the colorbar become floats.
even though I explicitly set them to a totally different string than "1.0".