Changeset 8791:6e14e0c00a5c in orange


Ignore:
Timestamp:
08/26/11 10:00:55 (3 years ago)
Author:
matejd <matejd@…>
Branch:
default
Convert:
f703af1303e77ff9eaa6424dd9bcdfbe68146ffb
Message:

Fixed wrong argument type in liproj3d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Visualize Qt/OWLinProj3DPlot.py

    r8777 r8791  
    216216        valid_data = self.getValidList(indices) 
    217217        trans_proj_data = self.create_projection_as_numeric_array(indices, validData=valid_data, 
    218             scaleFactor=1.0, normalize=self.normalizeExamples, jitterSize=-1, 
     218            scaleFactor=1.0, normalize=self.normalize_examples, jitterSize=-1, 
    219219            useAnchorData=1, removeMissingData=0) 
    220220        if trans_proj_data == None: 
     
    237237 
    238238        if self.data_has_discrete_class: 
    239             self.discPalette.setNumberOfColors(len(self.dataDomain.classVar.values)) 
     239            self.discPalette.setNumberOfColors(len(self.data_domain.classVar.values)) 
    240240 
    241241        use_different_symbols = self.useDifferentSymbols and self.data_has_discrete_class and\ 
     
    256256            for i in range(len(self.data_domain.classVar.values)): 
    257257                c = self.discPalette[i] 
    258                 colors.append([c.red()/255., c.green()/255., c.blue()/255.]) 
     258                colors.append(c) 
    259259 
    260260        self.set_shown_attributes_indices(0, 1, 2, color_index, symbol_index, size_index, label_index, 
Note: See TracChangeset for help on using the changeset viewer.