Bases: Patch
A general polygon patch.
Whether the polygon is closed (i.e., has identical start and end points).
Return whether the polygon is closed.
Get the Path
of the polygon.
Get the vertices of the path.
The coordinates of the vertices.
Set multiple properties at once.
Supported properties are
Set whether the polygon is closed.
True if the polygon is closed
Set the vertices of the polygon.
The coordinates of the vertices.
Notes
Unlike Path
, we do not ignore the last input vertex. If the polygon is meant to be closed, and the last point of the polygon is not equal to the first, we assume that the user has not explicitly passed a CLOSEPOLY
vertex, and add it ourselves.
The vertices of the path as a (N, 2) array.
matplotlib.patches.Polygon
#
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4