zarr-maps-colormap
Shared Matplotlib-inspired colormaps and color-ramp utilities for the Zarr Maps packages.
import {
allColorScales,
colormapBuilder,
type ColorMapName
} from 'zarr-maps-colormap';
Interfaces
| Interface | Description |
|---|---|
| ColorMapInfo | Structure of the global color map registry. |
| ColorScaleProps | Numerical range and colors used to render a scalar field. |
Type Aliases
| Type Alias | Description |
|---|---|
| ColorMapName | Name of a bundled Matplotlib-inspired colormap. |
Functions
| Function | Description |
|---|---|
| colormapBuilder | Builds a color ramp (discrete or continuous) from a specified colormap. |
| colorScaleByName | Returns a color scale function for a given colormap name. |