spectral_cube/masks.py:228, in MaskBase._filled(self, data, wcs, fill, view, use_memmap, **kwargs)
202 """
203 Replace the excluded elements of *array* with *fill*.
204
(...)
224 Users should use the property :meth:`MaskBase.filled_data`
225 """
226 # Must convert to floating point, but should not change from inherited
227 # type otherwise
--> 228 dt = np.find_common_type([data.dtype], [np.float])
230 if use_memmap and data.size > 0:
231 ntf = tempfile.NamedTemporaryFile()
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself.
spectral-cube 0.5.0 (conda-forge)