-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
Didn't find any issue related to this
Starting in numpy 1.20 (release notes), "using the aliases of builtin types like np.int is deprecated". This results in the following warning:
guiqwt\image.py:2233: FutureWarning: In the future 'np.bool' will be defined as the corresponding NumPy scalar. (This may have returned Python scalars in past versions.
However, in numpy 1.24, the following exception is raised:
AttributeError: module 'numpy' has no attribute 'bool'. Did you mean: 'bool_'?
This behaviour can be observed in the guiqwt test "image_masked.py", when applying a "mask (outside)", then selecting "apply".
Metadata
Metadata
Assignees
Labels
No labels