Parameters ---------- s : {'nearest', 'bilinear'} or None If None, use :rc:`image.interpolation`.
(self, s)
| 1161 | raise NotImplementedError('Method not supported') |
| 1162 | |
| 1163 | def set_interpolation(self, s): |
| 1164 | """ |
| 1165 | Parameters |
| 1166 | ---------- |
| 1167 | s : {'nearest', 'bilinear'} or None |
| 1168 | If None, use :rc:`image.interpolation`. |
| 1169 | """ |
| 1170 | if s is not None and s not in ('nearest', 'bilinear'): |
| 1171 | raise NotImplementedError('Only nearest neighbor and ' |
| 1172 | 'bilinear interpolations are supported') |
| 1173 | super().set_interpolation(s) |
| 1174 | |
| 1175 | def get_extent(self): |
| 1176 | if self._A is None: |
no test coverage detected