Removed unnecessary 'curve1' from 'global'

This commit is contained in:
james1293 2017-01-06 23:21:31 -05:00 committed by GitHub
parent fe90f46bdd
commit b131785b86

View File

@ -21,7 +21,7 @@ curve1 = p1.plot(data1)
curve2 = p2.plot(data1)
ptr1 = 0
def update1():
global data1, curve1, ptr1
global data1, ptr1
data1[:-1] = data1[1:] # shift data in the array one sample left
# (see also: np.roll)
data1[-1] = np.random.normal()