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

Method mask2grid

lib/matplotlib/streamplot.py:342–343  ·  view source on GitHub ↗
(self, xm, ym)

Source from the content-addressed store, hash-verified

340 return round(xi * self.x_grid2mask), round(yi * self.y_grid2mask)
341
342 def mask2grid(self, xm, ym):
343 return xm * self.x_mask2grid, ym * self.y_mask2grid
344
345 def data2grid(self, xd, yd):
346 return xd * self.x_data2grid, yd * self.y_data2grid

Callers 1

streamplotFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected