Changeset 8611:f167c8493a27 in orange


Ignore:
Timestamp:
08/05/11 08:51:10 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
05e92412c2d3780b99793123f0503c1181be05a5
Message:

Fix the offset of ProbabilitiesItem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/plot/owtools.py

    r8609 r8611  
    263263        rx -= rx % self.granularity 
    264264        ry -= ry % self.granularity 
    265          
    266         """ 
    267         NOTE: This seems to cause a discrepancy with the old ScatterPlot 
    268          
     265                 
    269266        p = self.graph_transform().map(QPointF(0, 0)) - self.graph_transform().map(self.rect.topLeft()) 
    270         p = -p.toPoint() 
     267        p = p.toPoint() 
    271268         
    272269        ox = p.x() 
    273         oy = p.y() 
    274         """ 
    275         ox = 0 
    276         oy = 0 
    277          
     270        oy = -p.y() 
    278271         
    279272        if self.classifier.classVar.varType == orange.VarTypes.Continuous: 
Note: See TracChangeset for help on using the changeset viewer.