FourierBase.plot_curve#
- FourierBase.plot_curve(curve, subplot_kwargs=None, sample_kwargs=None, hdi_kwargs=None, axes=None, same_axes=False, colors=None, legend=None, sel_to_string=None)[source]#
Plot the seasonality for one full period.
- Parameters:
- curve
xr.DataArray
Sampled full period of the fourier seasonality.
- subplot_kwargs
dict
, optional Keyword arguments for the subplot, by default None
- sample_kwargs
dict
, optional Keyword arguments for the plot_full_period_samples method, by default None
- hdi_kwargs
dict
, optional Keyword arguments for the plot_full_period_hdi method, by default None
- axes
npt.NDArray
[plt.Axes
], optional Matplotlib axes, by default None
- same_axesbool, optional
Use the same axes for all plots, by default False
- colors
Iterable
[str
], optional Colors for the different plots, by default None
- legendbool, optional
Show the legend, by default None
- sel_to_string
SelToString
, optional Function to convert the selection to a string, by default None
- curve
- Returns:
tuple
[plt.Figure
,npt.NDArray
[plt.Axes
]]Matplotlib figure and axes.