Commit 112021c43d4f08d219c9dc8901025e539562e6f1

Authored by Christopher Stone
1 parent d7138d89
Exists in master

Small addition to what will be line-plotting code

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
telemetry/code/monitor/graph_plotter_rewrite.py
... ... @@ -86,7 +86,8 @@ class Plot(pyglet.window.Window):
86 86 heading.draw()
87 87  
88 88 def drawLine(self):
89   - for point in self.series.data:
  89 + for n in range(len(data) - 1):
  90 + a, b = data[n], data[n+1]
90 91 pass
91 92  
92 93 def drawAxis(self, axis): # axis=0 is x, 1 is y
... ...