Forced variable now supported in GraphicViewer
authoredouard
Tue, 22 Feb 2011 17:05:07 +0100
changeset 504 f88e0ebd8fe4
parent 503 52689bda4686
child 505 c5aec2269fb3
child 507 42150e041dbe
Forced variable now supported in GraphicViewer
GraphicViewer.py
--- a/GraphicViewer.py	Tue Jun 01 12:41:14 2010 +0200
+++ b/GraphicViewer.py	Tue Feb 22 17:05:07 2011 +0100
@@ -216,7 +216,7 @@
     def ClearErrors(self):
         pass
     
-    def NewValue(self, tick, value):
+    def NewValue(self, tick, value, forced=False):
         self.Datas.append((float(tick), {True:1., False:0.}.get(value, float(value))))
         if self.CurrentValue + self.CurrentRange == len(self.Datas) - 1:
             self.CurrentValue += 1