Skip to content

Commit 1f75f1a

Browse files
committed
Doc: First Write np.float64
Newer numpy removed the alias for `np.float`, so use an explicit type now.
1 parent 77e822a commit 1f75f1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/usage/firstwrite.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Python
180180
181181
x_data = np.arange(
182182
150 * 300,
183-
dtype=np.float
183+
dtype=np.float64
184184
).reshape(150, 300)
185185
186186

0 commit comments

Comments
 (0)