Commit 230ab94
committed
Fix NumPy FutureWarning for non-tuple indexing.
This fixes the warning:
.../matplotlib/mlab.py:395: FutureWarning: Using a non-tuple sequence
for multidimensional indexing is deprecated; use `arr[tuple(seq)]`
instead of `arr[seq]`. In the future this will be interpreted as an
array index, `arr[np.array(seq)]`, which will result either in an error
or a different result.1 parent 8a8c881 commit 230ab94
1 file changed
Lines changed: 1 addition & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
| 385 | + | |
396 | 386 | | |
397 | 387 | | |
398 | 388 | | |
| |||
0 commit comments