Commit 38d19b93 authored by drf5n's avatar drf5n

Update graph.py

Make temperature graph intervals be 10s as in comments.  Fixes issue https://github.com/kliment/Printrun/issues/491
parent 528a9e83
...@@ -68,9 +68,9 @@ class Graph(BufferedCanvas): ...@@ -68,9 +68,9 @@ class Graph(BufferedCanvas):
self._ybounds = Graph._YBounds(self) self._ybounds = Graph._YBounds(self)
#If rescaley is set then ybars gives merely an estimate #If rescaley is set then ybars gives merely an estimate
#Note that "bars" actually indicate the number of grid _intervals_ #Note that "bars" actually indicate the number of internal+external gridlines.
self.ybars = 5 self.ybars = 5
self.xbars = 6 # One bar per 10 second self.xbars = 7 # One bar per 10 second
self.xsteps = 60 # Covering 1 minute in the graph self.xsteps = 60 # Covering 1 minute in the graph
self.window = None self.window = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment