Skip to content

np.complex_ was removed in the NumPy 2.0 release. #7

@A-Dhakshan

Description

@A-Dhakshan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions