MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / PathWithCycle2

Class PathWithCycle2

lib/matplotlib/tests/test_path.py:389–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387 assert p_copy.x is p_copy
388
389 class PathWithCycle2(Path):
390 def __init__(self, *args, **kwargs):
391 super().__init__(*args, **kwargs)
392 self.x = [self] * 2
393
394 p2 = PathWithCycle2([[0, 0], [1, 1]], readonly=True)
395 p2_copy = p2.deepcopy()

Callers 1

test_path_deepcopy_cycleFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_path_deepcopy_cycleFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…