From 4e015180b6cdb4bd8d16ae861c8404f7f6a1dc29 Mon Sep 17 00:00:00 2001 From: jlevine18 Date: Mon, 24 Dec 2018 14:42:54 -0600 Subject: [PATCH] fix syntax error --- data analysis/visualization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data analysis/visualization.py b/data analysis/visualization.py index 1054aacf..f3d6cf8d 100644 --- a/data analysis/visualization.py +++ b/data analysis/visualization.py @@ -60,7 +60,7 @@ def line_plot(x,y): def regression_comp(x,y,reg): x=np.asarray(x) y=np.asarray(y) - regx=np.arange(x.min(),x.max(),(x.max()-x.min())/1000)) + regx=np.arange(x.min(),x.max(),(x.max()-x.min())/1000) regy=[] for i in regx: regy.append(eval(reg[0].replace("z",str(i))))