Commit 0d2249f0b080ab08bfec72fabce478e1dc89f507
Exists in
master
Merge branch 'master' of http://128.243.70.77/UoN_EEE/Robot_Wars
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
robots/little_john/telemetry/code/monitor/graph_plotter_rewrite.py
... | ... | @@ -8,8 +8,8 @@ |
8 | 8 | |
9 | 9 | import pyglet |
10 | 10 | #import math |
11 | -import time | |
12 | -import serial | |
11 | +#import time | |
12 | +#import serial | |
13 | 13 | import numpy |
14 | 14 | import os |
15 | 15 | import platform |
... | ... | @@ -66,6 +66,7 @@ class Plot(pyglet.window.Window): |
66 | 66 | def __init__(self, series): |
67 | 67 | """Setup a the details of a plot, and create a corresponding window""" |
68 | 68 | pyglet.window.Window.__init__(self, resizable=True) |
69 | + self.set_minimum_size(320,320) | |
69 | 70 | self.series = series |
70 | 71 | self.font = 'Arkhip' |
71 | 72 | self.margins = (0.09, 0.08) # Fractions of window size | ... | ... |