FourierBase.plot_curve#

FourierBase.plot_curve(curve, subplot_kwargs=None, sample_kwargs=None, hdi_kwargs=None)[source]#

Plot the seasonality for one full period.

Parameters:
curvexr.DataArray

Sampled full period of the fourier seasonality.

subplot_kwargsdict, optional

Keyword arguments for the subplot, by default None

sample_kwargsdict, optional

Keyword arguments for the plot_full_period_samples method, by default None

hdi_kwargsdict, optional

Keyword arguments for the plot_full_period_hdi method, by default None

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

Matplotlib figure and axes.