()
| 257 | |
| 258 | |
| 259 | def test_artist_set(): |
| 260 | line = mlines.Line2D([], []) |
| 261 | line.set(linewidth=7) |
| 262 | assert line.get_linewidth() == 7 |
| 263 | |
| 264 | # Property aliases should work |
| 265 | line.set(lw=5) |
| 266 | assert line.get_linewidth() == 5 |
| 267 | |
| 268 | |
| 269 | def test_artist_set_invalid_property_raises(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…