>try: > x = self.selected_points.index( self.pointmarker ) > colour = DEFAULT_SELECTED_POINT_COLOUR you spelled "color" wrong! (*grin*)