Skip to content

Commit 8462704

Browse files
committed
DOC: Clarify scope of wrap.
Closes #28358 by documenting the effect of wrap.
1 parent 199c31f commit 8462704

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/text.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,10 @@ def set_wrap(self, wrap):
606606
"""
607607
Set whether the text can be wrapped.
608608
609+
Wrapping makes sure the text is completely within the figure box, i.e.
610+
it does not extend beyond the drawing area. It does not take into
611+
account any other artists.
612+
609613
Parameters
610614
----------
611615
wrap : bool

0 commit comments

Comments
 (0)