()
| 740 | |
| 741 | |
| 742 | def test_long_word_wrap(): |
| 743 | fig = plt.figure(figsize=(6, 4)) |
| 744 | text = fig.text(9.5, 8, 'Alonglineoftexttowrap', wrap=True) |
| 745 | fig.canvas.draw() |
| 746 | assert text._get_wrapped_text() == 'Alonglineoftexttowrap' |
| 747 | |
| 748 | |
| 749 | def test_wrap_no_wrap(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…