We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a887cf0 + f3d5fc7 commit b75ef98Copy full SHA for b75ef98
yt/_maintenance/numpy2_compat.py
@@ -6,4 +6,4 @@
6
# np.trapz is deprecated in numpy 2.0 in favor of np.trapezoid
7
trapezoid = np.trapezoid
8
else:
9
- trapezoid = np.trapz # type: ignore [attr-defined] # noqa: NPY201
+ trapezoid = np.trapz # type: ignore[assignment] # noqa: NPY201
0 commit comments