This means Cherab and raysect scripts using 2D observers now display the following warning:
DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
It looks like the only place these deprecations exist are in sampler2d.pyx:
Numpy 1.20 has deprecated np.bool, np.int etc: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
This means Cherab and raysect scripts using 2D observers now display the following warning:
It looks like the only place these deprecations exist are in sampler2d.pyx:
These instances should have
np.bool
replaced withbool
.