pyriemann.utils.viz.plot_cov_ellipse

pyriemann.utils.viz.plot_cov_ellipse(ax, X, n_std=2.5, **kwds)

Plot 2x2 covariance matrix as an ellipse.

Parameters:
axmatplotlib axis

Axis of figure.

Xndarray, shape (2, 2)

Covariance matrix.

n_stdfloat, default=2.5

Number of standard deviations.

**kwdsdict

Any further parameters are passed directly to the Ellipse.

Returns:
axmatplotlib axis

Axis of figure.

Notes

New in version 0.6.

References