Fix some numpy deprecation warnings

This commit is contained in:
kris
2023-01-17 12:26:25 +00:00
parent d603445862
commit 4f6d7a796a
3 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ def compute_diff_matrix(pal: Type[palette.BasePalette]):
Specifically CIE2000 delta values for this palette.
"""
dm = np.ndarray(shape=(16, 16), dtype=np.int)
dm = np.ndarray(shape=(16, 16), dtype=np.int32)
for colour1, a in pal.RGB.items():
alab = colormath.color_conversions.convert_color(