Commit 4d3a8ce0c774de8d2f10be3b84439023eb8f3b2f

Authored by Christopher Stone
1 parent 5503da4d
Exists in master

deleted disused functions

Showing 1 changed file with 0 additions and 9 deletions   Show diff stats
telemetry/code/monitor/graph_plotter.py
@@ -19,17 +19,8 @@ window = pyglet.window.Window() @@ -19,17 +19,8 @@ window = pyglet.window.Window()
19 window.set_caption("Test graph") 19 window.set_caption("Test graph")
20 20
21 starttime = time.time() 21 starttime = time.time()
22 -  
23 -title = pyglet.text.Label('Test Graph',  
24 - font_name='Arkhip',  
25 - font_size=12,  
26 - x=window.width//2, y=window.height//2,  
27 - anchor_x='center', anchor_y='top')  
28 22
29 23
30 -def round_sig(x, sig=2):  
31 - return round(x, sig-int(math.floor(math.log10(abs(x))))-1)  
32 -  
33 def drawgrid(xlines, ylines, xlimits, ylimits): 24 def drawgrid(xlines, ylines, xlimits, ylimits):
34 pyglet.gl.glColor4f(0.5, 0.5, 0.5, 1.0) 25 pyglet.gl.glColor4f(0.5, 0.5, 0.5, 1.0)
35 for xpos in range(0, window.width, window.width/xlines): 26 for xpos in range(0, window.width, window.width/xlines):