From bb138156f17728219baf8b542838abd49c51ba0e Mon Sep 17 00:00:00 2001 From: Hanno Rein Date: Tue, 22 Oct 2019 18:58:09 -0400 Subject: [PATCH 1/2] Fixes an error in the documentation of Ellipse --- lib/matplotlib/patches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index c0c41ab2efcb..aa5eef8b595b 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -1420,7 +1420,7 @@ def _recompute_transform(self): def get_path(self): """ - Return the vertices of the rectangle + Return the vertices of the ellipse """ return self._path From 99b55ebd166602a4264a8f33ccc80ecd4e4ead36 Mon Sep 17 00:00:00 2001 From: Hanno Rein Date: Wed, 23 Oct 2019 10:26:29 -0400 Subject: [PATCH 2/2] function returns the path, not the verticies of the ellipse --- lib/matplotlib/patches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index aa5eef8b595b..3b59c235430f 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -1420,7 +1420,7 @@ def _recompute_transform(self): def get_path(self): """ - Return the vertices of the ellipse + Return the path of the ellipse """ return self._path