Skip to content

Commit

Permalink
[pyhton] realtimeplot: wx 3.0 needs Colour instead of Color
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Dec 28, 2015
1 parent 9f61b17 commit c45d35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/ground_segment/python/real_time_plot/plotpanel.py
Expand Up @@ -38,7 +38,7 @@ def __init__(self, ivy_msg_id, title, width, color=None):
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
Expand Down

0 comments on commit c45d35d

Please sign in to comment.