()
| 16 | |
| 17 | |
| 18 | def test_patch_from_polygon(): |
| 19 | poly = box(0, 0, 1, 1) |
| 20 | artist = patch_from_polygon(poly, facecolor="red", edgecolor="blue", linewidth=3) |
| 21 | assert equal_color(artist.get_facecolor(), "red") |
| 22 | assert equal_color(artist.get_edgecolor(), "blue") |
| 23 | assert artist.get_linewidth() == 3 |
| 24 | |
| 25 | |
| 26 | def test_patch_from_polygon_with_interior(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…