From 9ae082640c92dd536346c4d1aaa7bdc020ea4444 Mon Sep 17 00:00:00 2001
From: Yannick DAYER <yannick.dayer@idiap.ch>
Date: Thu, 6 Jun 2024 15:30:42 +0200
Subject: [PATCH] doc: fix argument name in pyplot Ellipse in plots.

---
 doc/plot/plot_ML.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/plot/plot_ML.py b/doc/plot/plot_ML.py
index 410abf0..a19e780 100644
--- a/doc/plot/plot_ML.py
+++ b/doc/plot/plot_ML.py
@@ -66,7 +66,9 @@ def draw_ellipse(position, covariance, ax=None, **kwargs):
     # Draw the Ellipse
     for nsig in range(1, 4):
         ax.add_patch(
-            Ellipse(position, nsig * width, nsig * height, angle, **kwargs)
+            Ellipse(
+                position, nsig * width, nsig * height, angle=angle, **kwargs
+            )
         )
 
 
-- 
GitLab