Changeset 3534:33a14a8006ff in orange


Ignore:
Timestamp:
04/14/07 10:41:32 (7 years ago)
Author:
Gregor <Gregor@…>
Branch:
default
Convert:
39db7e746c9106a498be7ae5bccb70e4e257f46d
Message:
  • small bugfix. problems with showProbabilities when using older numpy
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Visualize/OWScatterPlotGraph.py

    r3503 r3534  
    3535        self.tooltipKind = 1 
    3636        self.showFilledSymbols = 1 
    37         self.showProbabilities = 1 
     37        self.showProbabilities = 0 
    3838 
    3939        self.toolRects = [] 
     
    162162            scX = [x/xdiff for x in xData] 
    163163            scY = [y/ydiff for y in yData] 
    164             clsData = list(numpy.transpose(numpy.take(self.originalData, [colorIndex], axis = 0))) 
     164            clsData = numpy.take(self.originalData, [colorIndex], axis = 0)[0] 
    165165 
    166166            data = numpy.transpose(numpy.array([scX, scY, clsData])) 
Note: See TracChangeset for help on using the changeset viewer.