Function: addHist2d()
ts
function addHist2d(plot, opts): Hist2dHandle;Defined in: stats/charts.ts:231
A 2-D histogram (matplotlib's hist2d): rectangular binning of a point cloud, drawn as a heatmap. Reach for addHexbin instead when the cloud is dense — hexagons have no preferred direction, so they read density more evenly.
Parameters
| Parameter | Type |
|---|---|
plot | Plot |
opts | Hist2dOptions |