ordinal
A scale from ordered categories to colors along a colormap.
rank = hm.ordinal(domain=["Low", "Middle", "High"], colormap="Viridis")
hm.Points(fill="rank", fill_scale=rank)Usage
Unlike an unordered categorical palette, an ordinal colormap communicates rank. Supply the category order explicitly; category values are not numerically interpolated.