Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d4073a commit c9ec715Copy full SHA for c9ec715
1 file changed
lib/matplotlib/tests/test_text.py
@@ -599,9 +599,10 @@ def test_wrap():
599
s = 'This is a very long text that should be wrapped multiple times.'
600
text = fig.text(0.7, 0.5, s, wrap=True)
601
fig.canvas.draw()
602
- assert text._get_wrapped_text() == ('This is a very long text\n'
603
- 'that should be wrapped\n'
604
- 'multiple times.')
+ assert text._get_wrapped_text() == ('This is a very long\n'
+ 'text that should be\n'
+ 'wrapped multiple\n'
605
+ 'times.')
606
607
608
def test_long_word_wrap():
0 commit comments