From b131785b869ca3912d11f3df7ec7717832befadf Mon Sep 17 00:00:00 2001 From: james1293 Date: Fri, 6 Jan 2017 23:21:31 -0500 Subject: [PATCH] Removed unnecessary 'curve1' from 'global' --- examples/scrollingPlots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/scrollingPlots.py b/examples/scrollingPlots.py index 623b9ab1..313d4e8d 100644 --- a/examples/scrollingPlots.py +++ b/examples/scrollingPlots.py @@ -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()