Method
__init__
(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
Tested by
no test coverage detected