rayopt-notebooks icon indicating copy to clipboard operation
rayopt-notebooks copied to clipboard

`np.complex_` was removed in the NumPy 2.0 release.

Open A-Dhakshan opened this issue 1 year ago • 0 comments

The microscope.ipynb file, when ran gives the following error

AttributeError: np.complex_ was removed in the NumPy 2.0 release. Use np.complex128 instead.

Which arises when running the cell containing the code, a = Analysis(s) #a.figures[0].axes[0].set_xlim(220, 253) #a.figures[0].axes[0].set_ylim(-7, 7) #a.figures[0].axes[0].set_xlim(-2, 52) #a.figures[0].set_figheight(10)

I guess an easy fix would be to use an older version of numpy. But try to fix this from your side

A-Dhakshan avatar Sep 17 '24 06:09 A-Dhakshan