()
| 208 | |
| 209 | |
| 210 | def test_legend(): |
| 211 | fig, ax = plt.subplots() |
| 212 | ax.plot([1, 2, 3], label="label") |
| 213 | ax.legend().set_visible(False) |
| 214 | _assert_output_equal( |
| 215 | fake_renderer_output(fig, FakeRenderer), |
| 216 | """ |
| 217 | opening figure |
| 218 | opening axes |
| 219 | draw path with 3 vertices |
| 220 | opening legend |
| 221 | closing legend |
| 222 | closing axes |
| 223 | closing figure |
| 224 | """, |
| 225 | ) |
| 226 | |
| 227 | |
| 228 | def test_legend_dots(): |
nothing calls this directly
no test coverage detected