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

Class PathWithCycle

lib/matplotlib/tests/test_path.py:377–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375
376def test_path_deepcopy_cycle():
377 class PathWithCycle(Path):
378 def __init__(self, *args, **kwargs):
379 super().__init__(*args, **kwargs)
380 self.x = self
381
382 p = PathWithCycle([[0, 0], [1, 1]], readonly=True)
383 p_copy = p.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…