Skip to content

Commit 45dfd60

Browse files
committed
Suppress umath.py:124: DeprecationWarning: invalid escape sequence '\i'
1 parent 0252aa1 commit 45dfd60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quantities/umath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def cross (a, b , axisa=-1, axisb=-1, axisc=-1, axis=None):
121121

122122

123123
def trapz(y, x=None, dx=1.0, axis=-1):
124-
"""
124+
r"""
125125
Integrate along the given axis using the composite trapezoidal rule.
126126
127127
If `x` is provided, the integration happens in sequence along its

0 commit comments

Comments
 (0)