10000 Merge pull request #28462 from meeseeksmachine/auto-backport-of-pr-28… · meeseeksmachine/matplotlib@1f0e4c4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f0e4c4

Browse files
authored
Merge pull request matplotlib#28462 from meeseeksmachine/auto-backport-of-pr-28440-on-v3.9.x
Backport PR matplotlib#28440 on branch v3.9.x (DOC: Add note about simplification of to_polygons)
2 parents a7f5904 + 0caf58a commit 1f0e4c4

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)
0