Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9088cf4

Browse files
committed
document unit_regular_polygon
1 parent 5ed49fd commit 9088cf4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/path.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,8 @@ def unit_rectangle(cls):
649649
def unit_regular_polygon(cls, numVertices):
650650
"""
651651
Return a :class:`Path` instance for a unit regular polygon with the
652-
given *numVertices* and radius of 1.0, centered at (0, 0).
652+
given *numVertices* such that the circumscribing circle has radius 1.0,
653+
centered at (0, 0).
653654
"""
654655
if numVertices <= 16:
655656
path = cls._unit_regular_polygons.get(numVertices)

0 commit comments

Comments
 (0)