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

Numpy 2.0 error #360

Open
pwichmann opened this issue Aug 7, 2024 · 0 comments
Open

Numpy 2.0 error #360

pwichmann opened this issue Aug 7, 2024 · 0 comments

Comments

@pwichmann
Copy link

Describe the bug
When trying to plot a pyntcloud (pyntcloud 0.3.1), there is an attribute error.
AttributeError: ptp was removed from the ndarray class in NumPy 2.0. Use np.ptp(arr, ...) instead.

Error thrown by matplotlib_backend (line 25): ptp = cloud.xyz.ptp()

To Reproduce
Steps to reproduce the behavior:

  1. Use NumPy 2.0
  2. Try to plot() a pyntcloud
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

1 participant