Skip to main content

Module heatmap

Module heatmap 

Source
Expand description

Generic heatmap series — a grid of color-mapped cells with optional numeric annotations. The building block under the correlation / missingness heatmap figures, but usable directly on any chart.

Cells are placed at integer coordinates: column c at x = c, row r at y = nrows - 1 - r (so row 0 is at the top). Build the chart with ranges -0.5..ncols as f64 - 0.5 and -0.5..nrows as f64 - 0.5.

Structs§

Heatmap
A grid of color-mapped cells.
HeatmapAnnotation
Per-cell numeric annotation settings.