()
| 77 | |
| 78 | |
| 79 | def test_plot_line(): |
| 80 | line = LineString([(0, 0), (1, 0), (1, 1)]) |
| 81 | artist, _ = plot_line(line) |
| 82 | plot_coords = artist.get_path().vertices |
| 83 | assert_allclose(plot_coords, get_coordinates(line)) |
| 84 | |
| 85 | # overriding default styling |
| 86 | artist = plot_line(line, add_points=False, color="red", linewidth=3) |
| 87 | assert equal_color(artist.get_edgecolor(), "red") |
| 88 | assert equal_color(artist.get_facecolor(), "none") |
| 89 | assert artist.get_linewidth() == 3 |
| 90 | |
| 91 | |
| 92 | def test_plot_multilinestring(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…