MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / _undo_trajectory

Method _undo_trajectory

site-packages/matplotlib/streamplot.py:381–384  ·  view source on GitHub ↗

Remove current trajectory from mask

(self)

Source from the content-addressed store, hash-verified

379 self._update_trajectory(xm, ym)
380
381 def _undo_trajectory(self):
382 """Remove current trajectory from mask"""
383 for t in self._traj:
384 self._mask.__setitem__(t, 0)
385
386 def _update_trajectory(self, xm, ym):
387 """Update current trajectory position in mask.

Callers 1

undo_trajectoryMethod · 0.80

Calls 1

__setitem__Method · 0.45

Tested by

no test coverage detected