diff --git a/harmony_browse_image_generator/color_utility.py b/harmony_browse_image_generator/color_utility.py index f357371..750a836 100644 --- a/harmony_browse_image_generator/color_utility.py +++ b/harmony_browse_image_generator/color_utility.py @@ -31,7 +31,7 @@ NODATA_IDX = 255 -def remove_alpha(raster: nd.ndarray) -> tuple[nd.ndarray, nd.ndarray, None]: +def remove_alpha(raster: np.ndarray) -> tuple[np.ndarray, np.ndarray, None]: """remove alpha layer when it exists.""" if raster.shape[0] == 4: return raster[0:3, :, :], raster[3, :, :]