Skip to content

yohou.plotting

Time series plotting module for yohou.

Classes

Name Description
LegendTracker Track which legend entries have been shown to avoid duplicates.
PanelColorManager Assign consistent colours to panel members by name.
RenderContext Typed context passed to facet render callbacks.

Functions

Name Description
config_context Context manager to temporarily override plotting configuration.
get_color_sequence Get color sequence for plotting multiple series.
get_config Return a copy of the current global plotting configuration.
linked_legendgroup_kwargs Build legendgroup / showlegend kwargs for linked traces.
palette_yohou Return the yohou color palette.
resolve_color_palette Resolve a user-provided color palette or fall back to the default.
resolve_panel_columns Resolve which panel columns to plot.
set_config Set global plotting configuration.
plot_autocorrelation Plot autocorrelation function (ACF) for time series.
plot_correlation_heatmap Plot correlation matrix heatmap for multiple time series.
plot_cross_correlation Plot cross-correlation function (CCF) between time series pairs.
plot_lag_scatter Plot scatter plots of y(t) vs y(t-lag) for analysing temporal dependencies.
plot_partial_autocorrelation Plot partial autocorrelation function (PACF) for time series.
plot_scatter_matrix Plot an N×N scatter-plot matrix.
plot_seasonal_heatmap Plot a 2-D heatmap of aggregated values across two time dimensions.
plot_seasonality Plot seasonal overlay.
plot_subseasonality Plot seasonal subseries.
plot_calibration Plot calibration for interval or class-probability forecasts.
plot_group_scores Plot scores broken down by panel group.
plot_residuals Plot diagnostic plots for model residuals.
plot_score_distribution Plot the distribution of per-timestep scorer values.
plot_score_heatmap Plot a 2D heatmap of scores across two forecast dimensions.
plot_score_per_step Plot scorer value by forecast horizon step.
plot_score_per_vintage Plot scorer value by forecast vintage (observed time).
plot_score_summary Plot a grouped bar chart comparing aggregate scores across models and scorers.
plot_score_time_series Plot scorer values over time for one or more forecasts.
plot_boxplot Plot boxplots grouped by time periods.
plot_distribution Plot histogram with optional KDE overlay for one or more columns.
plot_missing_data Visualize missing data patterns over time.
plot_outliers Plot time series with outlier points highlighted.
plot_resampling_comparison Plot original vs resampled time series for comparison.
plot_rolling_statistics Plot rolling window statistics (mean, std, min, max, median, quantiles).
plot_time_series Plot basic line plots for one or more time series.
plot_decomposition Plot time series decomposition as vertically stacked subplots.
plot_forecast Plot forecasts with historical data and optional prediction intervals.
plot_time_weight Plot time-based weights as a time series visualization.
plot_cv_results_scatter Plot hyperparameter search results as a scatter plot.
plot_nested_splits Plot a nested cross-validation as a timeline visualization.
plot_splits Plot cross-validation splits as a timeline visualization.
plot_phase Plot the phase of a time series.
plot_spectrum Plot periodogram (power spectral density) for frequency domain analysis.