mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
[pyhton] realtimeplot: wx 3.0 needs Colour instead of Color
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user