YearlyFourier.plot_curve_hdi#

YearlyFourier.plot_curve_hdi(curve, hdi_kwargs=None, subplot_kwargs=None, plot_kwargs=None, axes=None)#

Plot full period of the fourier seasonality.

Parameters:
curvexr.DataArray

The curve to plot.

hdi_kwargsdict, optional

Keyword arguments for the az.hdi function. Defaults to None.

plot_kwargsdict, optional

Keyword arguments for the fill_between function. Defaults to None.

subplot_kwargsdict, optional

Keyword arguments for plt.subplots

axesnpt.NDArray[plt.Axes], optional

The exact axes to plot on. Overrides any subplot_kwargs

Returns:
tuple[plt.Figure, npt.NDArray[plt.Axes]]