Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
func
Function · 0.50
Tested by
no test coverage detected