def __init__(self, x0, y0, x1, y1): self.xList = [x0, x1] self.yList = [y0, y1] self.P_color = wx.Colour(50,50,50)