def drawToSurface(self, surf): if self.xy != None: TrackingViz.drawToSurface(self, surf) x,y = self.xy surf.blit(self.text,(x+6,y+6))