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

Method update_trajectory

site-packages/matplotlib/streamplot.py:292–296  ·  view source on GitHub ↗
(self, xg, yg)

Source from the content-addressed store, hash-verified

290 self.mask._current_xy = (xm, ym)
291
292 def update_trajectory(self, xg, yg):
293 if not self.grid.within_grid(xg, yg):
294 raise InvalidIndexError
295 xm, ym = self.grid2mask(xg, yg)
296 self.mask._update_trajectory(xm, ym)
297
298 def undo_trajectory(self):
299 self.mask._undo_trajectory()

Callers 1

_integrate_rk12Function · 0.80

Calls 3

grid2maskMethod · 0.95
within_gridMethod · 0.80
_update_trajectoryMethod · 0.80

Tested by

no test coverage detected