From 1cee0afc67090adbce80340fbaf3c7617419ceb4 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Mon, 12 Sep 2022 18:46:24 -0700 Subject: [PATCH] Backport PR #23862: Remove triggering of deprecation warning in AnchoredEllipse --- lib/mpl_toolkits/axes_grid1/anchored_artists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mpl_toolkits/axes_grid1/anchored_artists.py b/lib/mpl_toolkits/axes_grid1/anchored_artists.py index ba22f264253b..7e15879289ee 100644 --- a/lib/mpl_toolkits/axes_grid1/anchored_artists.py +++ b/lib/mpl_toolkits/axes_grid1/anchored_artists.py @@ -164,7 +164,7 @@ def __init__(self, transform, width, height, angle, loc, Ellipse patch drawn. """ self._box = AuxTransformBox(transform) - self.ellipse = Ellipse((0, 0), width, height, angle) + self.ellipse = Ellipse((0, 0), width, height, angle=angle) self._box.add_artist(self.ellipse) super().__init__(loc, pad=pad, borderpad=borderpad, child=self._box,