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

scipy.integrate has no attribute trapz #362

Closed
farzanehnakhaee70 opened this issue Sep 8, 2024 · 2 comments
Closed

scipy.integrate has no attribute trapz #362

farzanehnakhaee70 opened this issue Sep 8, 2024 · 2 comments

Comments

@farzanehnakhaee70
Copy link

In scipy version of 1.14.1, there is no trapz in integrate. Therefore, after upgrading scipy, I got an error from this part of the code:

AttributeError: module 'scipy.integrate' has no attribute 'trapz'
@fakufaku
Copy link
Collaborator

fakufaku commented Sep 8, 2024

@farzanehnakhaee70 Thanks for reporting this bug.

It seems the function trapz has been deprecated in favor of trapezoid in a recent version of scipy.
I will fix the package accordingly.

@fakufaku
Copy link
Collaborator

Fixed in #363 and v0.7.7

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