'Clear the widget state.'

def clear(self):

    self.plot.clear()
    self.results = None
    self.target_cb.clear()
    self.target_index = 0
    self.classifier_names = []
    self.colors = []
    self._curve_data = {}
