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

Method _init

lib/matplotlib/colors.py:2025–2027  ·  view source on GitHub ↗

Generate the lookup table, ``self._lut``.

(self)

Source from the content-addressed store, hash-verified

2023 return new_cm
2024
2025 def _init(self):
2026 """Generate the lookup table, ``self._lut``."""
2027 raise NotImplementedError("Abstract class only")
2028
2029 @property
2030 def shape(self):

Callers 5

__call__Method · 0.95
lutMethod · 0.95
__eq__Method · 0.95
__getitem__Method · 0.95
_repr_png_Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected