We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f3cae7 commit eadd54bCopy full SHA for eadd54b
eolearn/features/utils.py
@@ -162,8 +162,11 @@ def spatially_resize_image(
162
if resize_library is ResizeLib.CV2:
163
resize_function = partial(cv2.resize, dsize=size, interpolation=resize_method.get_cv2_method(data.dtype))
164
else:
165
- # type: ignore[arg-type]
166
- resize_function = partial(_pil_resize_ndarray, size=size, method=resize_method.get_pil_method())
+ resize_function = partial(
+ _pil_resize_ndarray, # type: ignore[arg-type]
167
+ size=size,
168
+ method=resize_method.get_pil_method(),
169
+ )
170
171
resized_data = _apply_to_spatial_axes(resize_function, data, spatial_axes)
172
0 commit comments