Skip to main content

Interface: ViolinDensity

Defined in: src/mobjects/graphing/ViolinPlot.ts:13

The sampled KDE for one violin group.

Properties​

densities​

densities: number[]

Defined in: src/mobjects/graphing/ViolinPlot.ts:17

Estimated density at each value.


halfWidths​

halfWidths: number[]

Defined in: src/mobjects/graphing/ViolinPlot.ts:19

Half-width of the violin at each value, in category units.


values​

values: number[]

Defined in: src/mobjects/graphing/ViolinPlot.ts:15

Value-axis positions where the density was sampled, low to high.