colour-science / colour

Colour Science for Python
https://www.colour-science.org
BSD 3-Clause "New" or "Revised" License
2.1k stars 260 forks source link

PR: Numpy 2 Compatibility: Replace `np.float_` w/ `np.double`. #1276

Closed trougnouf closed 3 months ago

trougnouf commented 3 months ago

Summary

Replace np.float_ with np.double for numpy 2.0 compatibility. This allows importing the colour module without error again. ( #1273 )

KelSolaar commented 3 months ago

Thanks @trougnouf!