From 35f38de2359963bbb5bb193070547fc059ae15b3 Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Wed, 12 Jun 2024 16:20:13 -0500 Subject: [PATCH] Backport PR #28377: DOC: Clarify scope of wrap. --- lib/matplotlib/text.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/matplotlib/text.py b/lib/matplotlib/text.py index 40cd8c8cd6f7..7fc19c042a1f 100644 --- a/lib/matplotlib/text.py +++ b/lib/matplotlib/text.py @@ -606,6 +606,10 @@ def set_wrap(self, wrap): """ Set whether the text can be wrapped. + Wrapping makes sure the text is completely within the figure box, i.e. + it does not extend beyond the drawing area. It does not take into + account any other artists. + Parameters ---------- wrap : bool