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

Method __init__

lib/matplotlib/colors.py:2212–2216  ·  view source on GitHub ↗
(self, patch, N=256, shape='square', origin=(0, 0),
                 name='segmented bivariate colormap')

Source from the content-addressed store, hash-verified

2210 """
2211
2212 def __init__(self, patch, N=256, shape='square', origin=(0, 0),
2213 name='segmented bivariate colormap'):
2214 _api.check_shape((None, None, 3), patch=patch)
2215 self.patch = patch
2216 super().__init__(N, N, shape, origin, name=name)
2217
2218 def _init(self):
2219 # Perform bilinear interpolation

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected