Skip to content

Commit 0caf58a

Browse files
QuLogicmeeseeksmachine
authored andcommitted
Backport PR #28440: DOC: Add note about simplification of to_polygons
1 parent 645e4ac commit 0caf58a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/path.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,9 @@ def to_polygons(self, transform=None, width=0, height=0, closed_only=True):
697697
be simplified so that vertices outside of (0, 0), (width,
698698
height) will be clipped.
699699
700+
The resulting polygons will be simplified if the
701+
:attr:`Path.should_simplify` attribute of the path is `True`.
702+
700703
If *closed_only* is `True` (default), only closed polygons,
701704
with the last point being the same as the first point, will be
702705
returned. Any unclosed polylines in the path will be

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy