DOC remove MatplotlibDeprecationWarnings for `plot_gmm_covariances.py` example
@@ -59,7 +59,7 @@ def make_ellipses(gmm, ax):
angle = 180 * angle / np.pi # convert to degrees
v = 2.0 * np.sqrt(2.0) * np.sqrt(v)
ell = mpl.patches.Ellipse(
- gmm.means_[n, :2], v[0], v[1], 180 + angle, color=color
+ gmm.means_[n, :2], v[0], v[1], angle=180 + angle, color=color
)
ell.set_clip_box(ax.bbox)
ell.set_alpha(0.5)
