Skip to main content

Module series

Module series 

Source
Expand description

plotters-facing series types.

Each type is a composite element implementing Drawable + PointCollection, following the same pattern as plotters’ built-in CandleStick, so it drops straight into draw_series.

Re-exports§

pub use box_plot::BoxPlot;
pub use box_plot::BoxPlotSeries;
pub use box_plot::BoxStyle;
pub use calibration_curve::CalibrationCurve;
pub use ecdf::Ecdf;
pub use gain_chart::GainChart;
pub use gain_chart::GainMode;
pub use heatmap::Heatmap;
pub use heatmap::HeatmapAnnotation;
pub use precision_recall_curve::PrecisionRecallCurve;
pub use qq_plot::QqPlot;
pub use regularization_path::RegLine;
pub use regularization_path::RegularizationPath;
pub use residual_plot::ResidualPlot;
pub use roc_curve::RocCurve;
pub use violin_plot::ViolinPlot;
pub use violin_plot::ViolinPlotSeries;
pub use violin_plot::ViolinStyle;

Modules§

box_plot
Box-and-whisker plot series.
calibration_curve
Calibration curve (reliability diagram): binned predicted probability vs observed frequency, with the perfect-calibration y = x diagonal.
ecdf
Empirical CDF series — a right-continuous step curve, optionally with a DKW confidence band and step markers.
gain_chart
Cumulative gain and lift charts for ranking/classification evaluation.
heatmap
Generic heatmap series — a grid of color-mapped cells with optional numeric annotations. The building block under the correlation / missingness heatmap figures, but usable directly on any chart.
precision_recall_curve
Precision–recall curve series.
qq_plot
Normal quantile–quantile plot: sample quantiles vs theoretical standard-normal quantiles, with a robust reference line through the first and third quartiles.
regularization_path
Regularization-path series: one line per model coefficient across a sweep of regularization strengths, with automatic color cycling and optional zero-crossing markers (the visual payoff of L1/ElasticNet sparsification).
residual_plot
Residual plot series: residuals vs fitted values, with a zero-reference line and an optional binned moving-average trend line.
roc_curve
ROC curve series.
violin_plot
Violin plot series — a mirrored KDE outline, optionally with an embedded box plot, built on crate::stats::kde and reusing BoxPlot’s geometry.