MCPcopy Create free account
hub / github.com/shapely/shapely / test_plot_multilinestring

Function test_plot_multilinestring

shapely/tests/test_plotting.py:92–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90
91
92def test_plot_multilinestring():
93 line = MultiLineString(
94 [LineString([(0, 0), (1, 0), (1, 1)]), LineString([(2, 2), (3, 3)])]
95 )
96 artist, _ = plot_line(line)
97 plot_coords = artist.get_path().vertices
98 assert_allclose(plot_coords, get_coordinates(line))
99
100
101def test_plot_points():

Callers

nothing calls this directly

Calls 4

MultiLineStringClass · 0.90
LineStringClass · 0.90
plot_lineFunction · 0.90
get_coordinatesFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…