()
| 21 | |
| 22 | |
| 23 | def test_lines(): |
| 24 | fig, ax = plt.subplots() |
| 25 | ax.plot(range(20), "-k") |
| 26 | |
| 27 | _assert_output_equal( |
| 28 | fake_renderer_output(fig, FakeRenderer), |
| 29 | """ |
| 30 | opening figure |
| 31 | opening axes |
| 32 | draw path with 20 vertices |
| 33 | closing axes |
| 34 | closing figure |
| 35 | """, |
| 36 | ) |
| 37 | |
| 38 | _assert_output_equal( |
| 39 | fake_renderer_output(fig, FullFakeRenderer), |
| 40 | """ |
| 41 | opening figure |
| 42 | opening axes |
| 43 | draw line with 20 points |
| 44 | closing axes |
| 45 | closing figure |
| 46 | """, |
| 47 | ) |
| 48 | |
| 49 | |
| 50 | def test_markers(): |
nothing calls this directly
no test coverage detected