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

Method data2grid

lib/matplotlib/streamplot.py:345–346  ·  view source on GitHub ↗
(self, xd, yd)

Source from the content-addressed store, hash-verified

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
347
348 def grid2data(self, xg, yg):
349 return xg / self.x_data2grid, yg / self.y_data2grid

Callers 2

streamplotFunction · 0.95
_get_integratorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected