Commit 4d80e306f4804b14c44442dda787e338d73364e9

Authored by Christopher Stone
1 parent 948da001
Exists in master

inadvertently fixed previous bug, now draws incorrectly

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
telemetry/code/monitor/graph_plotter_rewrite.py
@@ -17,7 +17,7 @@ class Plot: @@ -17,7 +17,7 @@ class Plot:
17 self.window.on_resize = self.resize 17 self.window.on_resize = self.resize
18 self.window.on_draw = self.draw 18 self.window.on_draw = self.draw
19 19
20 - def resize(width, height): 20 + def resize(self, width, height):
21 self.size = (width, height) 21 self.size = (width, height)
22 22
23 def draw(self): 23 def draw(self):
@@ -37,7 +37,7 @@ class Plot: @@ -37,7 +37,7 @@ class Plot:
37 plots = [] 37 plots = []
38 plots.append(Plot("This is a test plot")) 38 plots.append(Plot("This is a test plot"))
39 39
40 -def pollSerial(): 40 +def pollSerial(foo):
41 pass 41 pass
42 42
43 #def update(foo): 43 #def update(foo):