'Remove old decision surface.'

def remove_surface(self):

    if (len(self.contours) > 0):
        for contour in self.contours:
            if isinstance(contour, ContourSet):
                for lineset in contour.collections:
                    lineset.remove()
            else:
                contour.remove()
        self.contours = []
