19524: Fix deprecated scipy.load.
authorTom Clegg <tom@curii.com>
Thu, 13 Oct 2022 14:47:51 +0000 (10:47 -0400)
committerTom Clegg <tom@curii.com>
Fri, 14 Oct 2022 13:20:36 +0000 (09:20 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

plot.py

diff --git a/plot.py b/plot.py
index 886e8cc691f33ebc61a96290dcebb00dbe5e7161..c88ed719b260f5a41e9436c2b505a8eefda210b2 100644 (file)
--- a/plot.py
+++ b/plot.py
@@ -3,13 +3,14 @@
 # SPDX-License-Identifier: AGPL-3.0
 
 import csv
+import numpy
 import os
 import os.path
 import scipy
 import sys
 
 infile = sys.argv[1]
-X = scipy.load(infile)
+X = numpy.load(infile)
 
 colors = None
 if sys.argv[2]: