Versions in this module Expand all Collapse all v0 v0.1.1 Oct 10, 2026 v0.1.0 Oct 10, 2026 Changes in this version + var Cycle = []string + func Index(x float64) int + func Names() []string + type Colormap struct + Bad RGBA + Name string + Over RGBA + Under RGBA + func Get(name string) (*Colormap, error) + func MustGet(name string) *Colormap + func (c *Colormap) At(x float64) RGBA + func (c *Colormap) BytesAt(x float64) [4]uint8 + type LogNorm struct + Vmax float64 + Vmin float64 + func (n LogNorm) Normalize(v float64) float64 + func (n LogNorm) Range() (float64, float64) + type Norm interface + Normalize func(v float64) float64 + Range func() (vmin, vmax float64) + type Normalize struct + Vmax float64 + Vmin float64 + func (n Normalize) Normalize(v float64) float64 + func (n Normalize) Range() (float64, float64) + type RGBA struct + A float64 + B float64 + G float64 + R float64 + func CycleColor(i int) RGBA + func MustParse(s string) RGBA + func Parse(s string) (RGBA, error) + func (c RGBA) Bytes() [4]uint8 + func (c RGBA) Hex() string + func (c RGBA) WithAlpha(a float64) RGBA