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

Method _reverser

lib/matplotlib/colors.py:1256–1257  ·  view source on GitHub ↗
(func, x)

Source from the content-addressed store, hash-verified

1254 # Helper ensuring picklability of the reversed cmap.
1255 @staticmethod
1256 def _reverser(func, x):
1257 return func(1 - x)
1258
1259 def reversed(self, name=None):
1260 """

Callers

nothing calls this directly

Calls 1

funcFunction · 0.50

Tested by

no test coverage detected