Visualization#

Plot function for univariate functional data.

Generic plot function for DenseFunctionalData and IrregularFunctionalData objects.

param data:

The object to plot.

type data:

Union[DenseFunctionalData, IrregularFunctionalData]

param labels:

The labels of each curve.

type labels:

Optional[npt.NDArray[np.float64]], default=None

param colors:

Colors used for the plot. If colors is None, it uses the jet colormaps from the matplotlib library by default.

type colors:

Optional[npt.NDArray[np.float64]], default=None

param ax:

Axes object onto which the objects are plotted.

type ax:

Optional[Axes]

param **plt_kwargs:

Keywords plotting arguments

returns:

Axes objects onto the plot is done.

rtype:

Axes