Skip to content

yohou.plotting

Interactive time series visualization functions using Plotly. All plotting functions support panel data via the groups parameter.

User guide: See the Visualization section for further details.

Exploration

Name Description
plot_time_series Plot basic line plots for one or more time series.
plot_rolling_statistics Plot rolling window statistics (mean, std, min, max, median, quantiles).
plot_missing_data Visualize missing data patterns over time.
plot_seasonality Plot seasonal overlay.
plot_subseasonality Plot seasonal subseries.
plot_lag_scatter Plot scatter plots of y(t) vs y(t-lag) for analysing temporal dependencies.
plot_autocorrelation Plot autocorrelation function (ACF) for time series.
plot_partial_autocorrelation Plot partial autocorrelation function (PACF) for time series.
plot_cross_correlation Plot cross-correlation function (CCF) between two time series.
plot_correlation_heatmap Plot correlation matrix heatmap for multiple time series.
plot_scatter_matrix Plot an N×N scatter-plot matrix.

Modelling

Name Description
plot_decomposition Plot time series decomposition as vertically stacked subplots.
plot_residuals Plot diagnostic plots for model residuals.
plot_boxplot Plot boxplots grouped by time periods.
plot_calibration Plot prediction interval calibration.
plot_time_weight Plot time-based weights as a time series visualization.

Evaluation

Name Description
plot_splits Plot cross-validation splits as a timeline visualization.
plot_cv_results_scatter Plot hyperparameter search results as a scatter plot.
plot_forecast Plot forecasts with historical data and optional prediction intervals.
plot_score_time_series Plot scorer values over time for one or more forecasts.
plot_score_distribution Plot the distribution of per-timestep scorer values.
plot_score_per_step Plot scorer value by forecast horizon step.
plot_score_per_vintage Plot scores across forecast vintages.
plot_score_summary Grouped bar chart comparing aggregate scores across models and scorers.
plot_score_heatmap Plot a 2D heatmap of scores across two forecast dimensions.
plot_group_scores Plot scores broken down by panel group.

Signal processing

Name Description
plot_spectrum Plot periodogram (power spectral density) for frequency domain analysis.
plot_phase Plot the phase of a time series.

Utilities

Name Description
apply_default_layout Apply default layout configuration to a figure.
get_color_sequence Get color sequence for plotting multiple series.
palette_yohou Return the yohou color palette.
resolve_color_palette Resolve a user-provided color palette or fall back to the default.
facet_figure Create a faceted subplot figure for panel data.
resolve_panel_columns Resolve which panel columns to plot.