pvtend.plotting.plot_coefficient_curves

pvtend.plotting.plot_coefficient_curves(dh_values: ndarray, coefficients: Dict[str, ndarray], *, labels: Dict[str, str] | None = None, colors: Dict[str, str] | None = None, title: str = 'Six-Basis Decomposition Coefficients', figsize: tuple[float, float] = (16, 10), xlabel: str = 'Hours relative to event', zero_line: bool = True) Figure[source]

Plot coefficient time series in a 2×3 panel.

Parameters:
  • dh_values – Hour offsets (x-axis).

  • coefficients – Dict with keys ‘beta’, ‘ax’, ‘ay’, ‘gamma1’, ‘gamma2’, ‘sigma’, each an array of length len(dh_values).

  • labels – Custom axis labels for each coefficient.

  • colors – Custom colors for each coefficient.

  • title – Figure title.

  • figsize – Figure size.

  • xlabel – X-axis label.

  • zero_line – Draw horizontal line at y=0.

Returns:

Matplotlib Figure.