Interface: BoxPlotOptions
Defined in: src/mobjects/graphing/BoxPlot.ts:28
Options for creating a BoxPlot.
Properties
axes?
optionalaxes:Axes
Defined in: src/mobjects/graphing/BoxPlot.ts:46
An existing Axes to draw onto. When omitted, one is built from the data.
axisColor?
optionalaxisColor:string
Defined in: src/mobjects/graphing/BoxPlot.ts:52
Color for the axes when auto-building. Default: '#ffffff'
boxWidth?
optionalboxWidth:number
Defined in: src/mobjects/graphing/BoxPlot.ts:42
Box thickness in category units. Default: 0.5
colors?
optionalcolors:string|string[]
Defined in: src/mobjects/graphing/BoxPlot.ts:34
Box color, or a per-group color array. Default: Manim color palette
data
data:
number[] |number[][]
Defined in: src/mobjects/graphing/BoxPlot.ts:30
One data group (number[]) or several groups (number[][]).
fillOpacity?
optionalfillOpacity:number
Defined in: src/mobjects/graphing/BoxPlot.ts:36
Fill opacity for the boxes. Default: 0.6
orientation?
optionalorientation:PlotOrientation
Defined in: src/mobjects/graphing/BoxPlot.ts:32
Lay boxes along the x-axis ('vertical') or y-axis ('horizontal'). Default: 'vertical'
outlierRadius?
optionaloutlierRadius:number
Defined in: src/mobjects/graphing/BoxPlot.ts:44
Radius of the outlier dots. Default: 0.05
strokeWidth?
optionalstrokeWidth:number
Defined in: src/mobjects/graphing/BoxPlot.ts:38
Stroke width for box, median and whiskers. Default: 2
whiskerFactor?
optionalwhiskerFactor:number
Defined in: src/mobjects/graphing/BoxPlot.ts:40
Whisker length as a multiple of the IQR. Default: 1.5
xLength?
optionalxLength:number
Defined in: src/mobjects/graphing/BoxPlot.ts:48
Visual length of the x-axis when auto-building axes. Default: 8
yLength?
optionalyLength:number
Defined in: src/mobjects/graphing/BoxPlot.ts:50
Visual length of the y-axis when auto-building axes. Default: 6