()
| 715 | |
| 716 | |
| 717 | def test_mathwrap(): |
| 718 | fig = plt.figure(figsize=(5, 4)) |
| 719 | s = r'This is a very $\overline{\mathrm{long}}$ line of Mathtext.' |
| 720 | text = fig.text(0, 0.5, s, size=40, wrap=True) |
| 721 | fig.canvas.draw() |
| 722 | assert text._get_wrapped_text() == ('This is a very $\\overline{\\mathrm{long}}$\n' |
| 723 | 'line of Mathtext.') |
| 724 | |
| 725 | |
| 726 | def test_get_window_extent_wrapped(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…