Changeset 8205:c3037cae2c10 in orange


Ignore:
Timestamp:
08/18/11 08:31:55 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
83d85dcad6f8fa9d39067ce4e23235883c9f7cfe
Message:

Update point sizes in LinProjGraph

File:
1 edited

Legend:

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

    r8200 r8205  
    690690        OWPlot.drawCanvas(self, painter) 
    691691         
    692     def updateCurves(self): 
    693         for c in self.itemList(): 
    694             if isinstance(c, OWCurve) and c not in self._extra_curves: 
    695                 c.setPointSize(self.pointWidth) 
    696                 color = c.color() 
    697                 color.setAlpha(self.alphaValue) 
    698                 c.setColor(color) 
    699                 c.updateProperties() 
     692    def update_point_size(self): 
     693        if self.main_curve: 
     694            # We never have different sizes in LinProj 
     695            self.main_curve.set_point_sizes([self.pointWidth]) 
     696         
    700697 
    701698 
Note: See TracChangeset for help on using the changeset viewer.