The density_2d step (spec/04 §7.2, spec/05 §5.3): a two-dimensional kernel density estimate of the
pixel points fields: [x, y] over the plot (or size), contoured, by
Macaw.Draw.Contour.Density (needs: [:frame]). field weights each point (1
without, and for a nil reading); bandwidth (20) is the kernel's standard deviation
in pixels, thresholds (20) a count or a list of density values, cell (4) the
grid's cell in pixels. A row with a nil or non-numeric coordinate is dropped. One row
per ring of every threshold, its value and closed path.
This is spatial work, where points land on the plot. The density of values along one
axis (a violin, a ridgeline) is macaw_data's density, not this: the two names never
collide in one registry (#56).
Summary
Functions
@spec phrase() :: String.t()
What the frame is called when a data layer's rows are laid out by this step (spec/11 §2.2).