mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-12 22:26:18 +00:00
fix syntax error
This commit is contained in:
parent
70591bc581
commit
4e015180b6
@ -60,7 +60,7 @@ def line_plot(x,y):
|
|||||||
def regression_comp(x,y,reg):
|
def regression_comp(x,y,reg):
|
||||||
x=np.asarray(x)
|
x=np.asarray(x)
|
||||||
y=np.asarray(y)
|
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=[]
|
regy=[]
|
||||||
for i in regx:
|
for i in regx:
|
||||||
regy.append(eval(reg[0].replace("z",str(i))))
|
regy.append(eval(reg[0].replace("z",str(i))))
|
||||||
|
Loading…
Reference in New Issue
Block a user