Set whether the text can be wrapped. Wrapping makes sure the text is confined to the (sub)figure box. It does not take into account any other artists. Parameters ---------- wrap : bool Notes ----- Wrapping does not work toge
(self, wrap)
| 706 | return self._wrap |
| 707 | |
| 708 | def set_wrap(self, wrap): |
| 709 | """ |
| 710 | Set whether the text can be wrapped. |
| 711 | |
| 712 | Wrapping makes sure the text is confined to the (sub)figure box. It |
| 713 | does not take into account any other artists. |
| 714 | |
| 715 | Parameters |
| 716 | ---------- |
| 717 | wrap : bool |
| 718 | |
| 719 | Notes |
| 720 | ----- |
| 721 | Wrapping does not work together with |
| 722 | ``savefig(..., bbox_inches='tight')`` (which is also used internally |
| 723 | by ``%matplotlib inline`` in IPython/Jupyter). The 'tight' setting |
| 724 | rescales the canvas to accommodate all content and happens before |
| 725 | wrapping. |
| 726 | """ |
| 727 | self._wrap = wrap |
| 728 | |
| 729 | def _get_wrap_line_width(self): |
| 730 | """ |
no outgoing calls
no test coverage detected