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

Method grid2data

lib/matplotlib/streamplot.py:348–349  ·  view source on GitHub ↗
(self, xg, yg)

Source from the content-addressed store, hash-verified

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
350
351 def start_trajectory(self, xg, yg, broken_streamlines=True):
352 xm, ym = self.grid2mask(xg, yg)

Callers 1

streamplotFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected