Merge pull request #425 from james1293/develop
Removed unnecessary 'curve1' from 'global'
This commit is contained in:
commit
f26b4ec3c7
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user