Skip to content

Interface: DistplotOptions ​

Options of distplot: create_distplot's arguments in camelCase.

Properties ​

PropertyModifierTypeDescription
binSize?readonlynumber | readonly number[]Bin width of the histograms: one for all, or one per sample set. Default 1.
colors?readonlyreadonly string[]Colors per sample set. Default: the template's colorway (plotly.py: category10).
curveType?readonly"kde" | "normal"'kde' (default: Gaussian KDE, Scott's rule) or 'normal' (a fitted normal density).
histnorm?readonly"probability" | "probability density"'probability density' (default: the histogram's area is 1, like the curve's) or 'probability' (bar heights sum to 1; the curve is scaled by the bin size to match).
rugText?readonlyreadonly (readonly string[] | undefined)[]Hover text per sample of the rug, per sample set.
showCurve?readonlybooleanDraw the curves. Default true.
showHist?readonlybooleanDraw the histograms. Default true.
showRug?readonlybooleanDraw the rug below. Default true.
template?readonlystring | Templatelayout.template (also the source of the default colors).

Released under the MIT License.