Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: ptp was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead. #64

Open
lucygarner opened this issue Mar 17, 2025 · 1 comment

Comments

@lucygarner
Copy link

Hi,

I am getting this error when running:

scrub.plot_embedding("UMAP", order_points = True)

AttributeError: ptp was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.

I see an issue relating to this was previously closed - #63.

Is there a more permanent fix?

Best wishes,
Lucy

@rural-lady
Copy link

Has this problem been solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants