LinearTrend.plot_curve#
- LinearTrend.plot_curve(curve, subplot_kwargs=None, sample_kwargs=None, hdi_kwargs=None, include_changepoints=True)[source]#
Plot the curve samples from the trend.
- Parameters:
- curve
xr.DataArray DataArray with the curve samples.
- subplot_kwargs
dict, optional Keyword arguments for the subplots, by default None.
- sample_kwargs
dict, optional Keyword arguments for the samples, by default None.
- hdi_kwargs
dict, optional Keyword arguments for the HDI, by default None.
- include_changepointsbool, optional
Include the change points in the plot, by default True.
- curve
- Returns:
tuple[plt.Figure,npt.NDArray[plt.Axes]]Tuple with the figure and the axes.