This fixes #382 by replacing deprecated np.bool with bool in FrameSampler2D classes.
In addition, this adds a hotfix for the bug introduced in #338. Now, if the all-true mask does not match the pixel geometry, the mask is silently updated instead of throwing an error.
This fixes #382 by replacing deprecated np.bool with bool in
FrameSampler2D
classes.In addition, this adds a hotfix for the bug introduced in #338. Now, if the all-true mask does not match the pixel geometry, the mask is silently updated instead of throwing an error.