Open ken-lauer opened 2 months ago
Migration guide: https://numpy.org/doc/stable/numpy_2_0_migration_guide.html
np.trapz
np.trapezoid
ping @ChristopherMayes let's merge this? :)
If you want to keep numpy 1 compatibility, one could add an if here @ken-lauer .
if
Migration guide: https://numpy.org/doc/stable/numpy_2_0_migration_guide.html
np.trapz
->np.trapezoid