Basis.plot_curve#
- Basis.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)#
Plot curve HDI and samples.
- Parameters:
- curve
xr.DataArray
The curve to plot.
- subplot_kwargs
dict
, optional Keyword arguments for plt.subplots
- sample_kwargs
dict
, optional Keyword arguments for the plot_curve_sample function. Defaults to None.
- hdi_kwargs
dict
, optional Keyword arguments for the plot_curve_hdi function. Defaults to None.
- axes
npt.NDArray
[plt.Axes
], optional The exact axes to plot on. Overrides any subplot_kwargs
- same_axesbool, optional
If the axes should be the same for all plots. Defaults to False.
- colors
Iterable
[str
], optional The colors to use for the plot. Defaults to None.
- legendbool, optional
If the legend should be shown. Defaults to None.
- sel_to_string
SelToString
, optional The function to convert the selection to a string. Defaults to None.
- curve
- Returns:
tuple
[plt.Figure
,npt.NDArray
[plt.Axes
]]