MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / _getPlotPoints

Method _getPlotPoints

graphs/data/base/graph.py:267–274  ·  view source on GitHub ↗
(self, xRange, miscParams, xSpec, ySpec, src, tgt)

Source from the content-addressed store, hash-verified

265 _getters = {}
266
267 def _getPlotPoints(self, xRange, miscParams, xSpec, ySpec, src, tgt):
268 try:
269 getterClass = self._getters[(xSpec.handle, ySpec.handle)]
270 except KeyError:
271 return [], []
272 else:
273 getter = getterClass(graph=self)
274 return getter.getRange(xRange=xRange, miscParams=miscParams, src=src, tgt=tgt)
275
276 def _getPoint(self, x, miscParams, xSpec, ySpec, src, tgt):
277 try:

Callers 1

_calcPlotPointsMethod · 0.95

Calls 1

getRangeMethod · 0.45

Tested by

no test coverage detected