Skip to content

Commit 49d89d1

Browse files
authored
Update patches.py by .. versionadded:: 3.8
1 parent 9cbe4ef commit 49d89d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/patches.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,6 +1659,8 @@ def get_vertices(self):
16591659
Return the left and right vertex coordinates of the ellipse.
16601660
16611661
The definition can be found `here <https://en.wikipedia.org/wiki/Ellipse>`_
1662+
1663+
.. versionadded:: 3.8
16621664
"""
16631665
x0 = self._center[0] - self._width / 2 * np.cos(np.deg2rad(self._angle))
16641666
y0 = self._center[1] - self._width / 2 * np.sin(np.deg2rad(self._angle))
@@ -1671,6 +1673,8 @@ def get_co_vertices(self):
16711673
Return the left and right co-vertex coordinates of the ellipse.
16721674
16731675
The definition can be found `here <https://en.wikipedia.org/wiki/Ellipse>`_
1676+
1677+
.. versionadded:: 3.8
16741678
"""
16751679
x0 = self._center[0] - self._height / 2 * np.sin(np.deg2rad(self._angle))
16761680
y0 = self._center[1] + self._height / 2 * np.cos(np.deg2rad(self._angle))

0 commit comments

Comments
 (0)