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

Update ptp call for numpy 2 #19

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Conversation

Carifio24
Copy link
Member

In numpy 2, the ptp method has been removed from ndarray (see the relevant part of the numpy 2 migration guide here). However, np.ptp has been retained from 1.x, so this PR updates our method calls to use np.ptp for compatibility with both major versions.

@astrofrog astrofrog merged commit 464eec6 into glue-viz:main Jul 12, 2024
8 of 36 checks passed
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

Successfully merging this pull request may close these issues.

2 participants