viz.renderers.HeatmapOptions
export interface HeatmapOptions {
/** Colormap to use (default: 'viridis') */
colormap?: ColormapName;
/** Reverse the colormap direction */
reverse?: boolean;
/** Manual value range [min, max]. If not provided and autoRange is true, computed from tensor. */
range?: [number, number];
/** Target to render to. If not provided, creates a new TextureTarget. */
target?: RenderTarget;
/** Show color legend bar (default: false) */
showLegend?: boolean;
/** Show axis labels (default: false) */
showAxes?: boolean;
/** Title to display above the heatmap */
title?: string;
/** Padding around the heatmap in pixels (default: 0, or 40 if showLegend/showAxes) */
padding?: number;
}colormap(ColormapName)optional- – Colormap to use (default: 'viridis')
reverse(boolean)optional- – Reverse the colormap direction
range([number, number])optional- – Manual value range [min, max]. If not provided and autoRange is true, computed from tensor.
target(RenderTarget)optional- – Target to render to. If not provided, creates a new TextureTarget.
showLegend(boolean)optional- – Show color legend bar (default: false)
showAxes(boolean)optional- – Show axis labels (default: false)
title(string)optional- – Title to display above the heatmap
padding(number)optional- – Padding around the heatmap in pixels (default: 0, or 40 if showLegend/showAxes)