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

Method __call__

site-packages/matplotlib/ticker.py:382–388  ·  view source on GitHub ↗

Return the value of the user defined function. `x` and `pos` are passed through as-is.

(self, x, pos=None)

Source from the content-addressed store, hash-verified

380 self.func = func
381
382 def __call__(self, x, pos=None):
383 """
384 Return the value of the user defined function.
385
386 `x` and `pos` are passed through as-is.
387 """
388 return self.func(x, pos)
389
390
391class FormatStrFormatter(Formatter):

Callers

nothing calls this directly

Calls 1

funcMethod · 0.45

Tested by

no test coverage detected