MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_wrap_no_wrap

Function test_wrap_no_wrap

lib/matplotlib/tests/test_text.py:749–753  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

747
748
749def test_wrap_no_wrap():
750 fig = plt.figure(figsize=(6, 4))
751 text = fig.text(0, 0, 'non wrapped text', wrap=True)
752 fig.canvas.draw()
753 assert text._get_wrapped_text() == 'non wrapped text'
754
755
756@check_figures_equal()

Callers

nothing calls this directly

Calls 4

figureMethod · 0.80
_get_wrapped_textMethod · 0.80
textMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…