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

Method copy

lib/matplotlib/path.py:271–276  ·  view source on GitHub ↗

Return a shallow copy of the `Path`, which will share the vertices and codes with the source `Path`.

(self)

Source from the content-addressed store, hash-verified

269 return self._readonly
270
271 def copy(self):
272 """
273 Return a shallow copy of the `Path`, which will share the
274 vertices and codes with the source `Path`.
275 """
276 return copy.copy(self)
277
278 def __deepcopy__(self, memo):
279 """

Callers 15

test_path_shallowcopyFunction · 0.95
iter_fieldsFunction · 0.45
subset_font_rawFunction · 0.45
build_mpljsFunction · 0.45
scatterMethod · 0.45
calc_arrowsMethod · 0.45
__init__Method · 0.45
_draw_ticksMethod · 0.45
_shade_colorsFunction · 0.45
update_fromMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_path_shallowcopyFunction · 0.76
test_aliasFunction · 0.36
check_maxfreqMethod · 0.36
test_Bug_2543Function · 0.36
test_deprecationFunction · 0.36
test_uses_per_pathFunction · 0.36
test_dvireadFunction · 0.36
__array__Method · 0.36
test_fig_closeFunction · 0.36
test_stairs_optionsFunction · 0.36