grapa.colorscale

Classes and functions to deal with colors and colorscales.

@author: Romain Carron Copyright (c) 2026, Empa, Laboratory for Thin Films and Photovoltaics, Romain Carron

Functions

colorize_graph(graph, colorscale[, ...])

Colorize a Graph using a Colorscale.

colorscales_from_config(graph)

Retrieve colorscales from graph config, or default.

Classes

Color(code[, space])

internally stores colors in RGB colorspace.

Colorscale([colors, space, invert])

This class handles the color scales.