Ignore:
Location:
Orange
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Data/OWPaintData.py

    r11570 r11575  
    920920        # if we start updating from previously undone actions, we cut off redos in our history 
    921921        if not self.historyCounter == len(self.dataHistory)-1: 
    922             self.dataHistory = self.dataHistory[0:self.historyCounter+1] 
     922            self.dataHistory = self.dataHistory[:self.historyCounter+1] 
    923923        # append an update of labels and data 
    924924        labels = list(self.classValuesModel) 
     
    945945            # if not, update data 
    946946            else: 
    947                 self.graph.data = data 
     947                self.graph.data = copy.deepcopy(data) 
    948948                self.graph.updateGraph() 
    949949            self.updateHistoryBool = True 
     
    960960                self.addNewClassLabel() 
    961961            else: 
    962                 self.graph.data = data 
     962                self.graph.data = copy.deepcopy(data) 
    963963                self.graph.updateGraph() 
    964964            self.updateHistoryBool = True 
  • Orange/data/discretization.py

    r11091 r11576  
    33from Orange.core import\ 
    44    EquiNDiscretization as EqualFreq,\ 
     5    EquiDistDiscretization as EqualWidth,\ 
     6    EntropyDiscretization as Entropy,\ 
    57    BiModalDiscretization as BiModal,\ 
    68    Preprocessor_discretize 
Note: See TracChangeset for help on using the changeset viewer.