Transformation.plot_curve_samples#
- Transformation.plot_curve_samples(curve, n=10, rng=None, plot_kwargs=None, subplot_kwargs=None, axes=None)[source]#
Plot samples from the curve.
- Parameters:
- curve
xr.DataArray The curve to plot.
- n
int, optional The number of samples to plot. Defaults to 10.
- rng
np.random.Generator, optional The random number generator to use. Defaults to None.
- plot_kwargs
dict, optional Keyword arguments for the DataFrame plot function. Defaults to None.
- subplot_kwargs
dict, optional Keyword arguments for plt.subplots
- axes
npt.NDArray[plt.Axes], optional The exact axes to plot on. Overrides any subplot_kwargs
- curve
- Returns:
tuple[plt.Figure,npt.NDArray[plt.Axes]]plt.AxesThe axes with the plot.