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 removes ptp method (use function instead) #392

Open
jakirkham opened this issue Dec 16, 2024 · 0 comments
Open

NumPy 2 removes ptp method (use function instead) #392

jakirkham opened this issue Dec 16, 2024 · 0 comments

Comments

@jakirkham
Copy link
Member

Currently we use the ptp method on this line

out_plane_shape = (out_bounds.ptp(axis=1) + 0.5).astype(int)

However NumPy 2 removed it. NumPy recommends using the ptp function instead

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