()
| 1270 | |
| 1271 | |
| 1272 | def test_get_segments(): |
| 1273 | segments = np.tile(np.linspace(0, 1, 256), (2, 1)).T |
| 1274 | lc = LineCollection([segments]) |
| 1275 | |
| 1276 | readback, = lc.get_segments() |
| 1277 | # these should comeback un-changed! |
| 1278 | assert np.all(segments == readback) |
| 1279 | |
| 1280 | |
| 1281 | def test_set_offsets_late(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…