Skip to content
color_palette

color_palette

Mojo module 🡭

color_palette

Theme.categorical_palette’s type: a qualitative set of colors.

Structs

  • ColorPalette: A qualitative palette – one distinct color per category, cycled by index – for Theme.categorical_palette. Empty means “unset”, leaving default_categorical_palette() (color_scale.mojo) in charge, the same contract Theme.color_ramp has with the three scalar scale stops.