[pyhton] realtimeplot: wx 3.0 needs Colour instead of Color

This commit is contained in:
Felix Ruess
2015-12-27 15:14:12 +01:00
parent 4d3f66edcd
commit 229aed8c21
@@ -39,7 +39,7 @@ class PlotData:
self.color = color
else:
r, g, b = random.randint(0, 255), random.randint(0, 255), random.randint(0, 255)
self.color = wx.Color(r, g, b)
self.color = wx.Colour(r, g, b)
def SetRealTime(self, value):
self.real_time = value