Changeset 8461:9687b81f0feb in orange


Ignore:
Timestamp:
07/26/11 09:00:36 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
e50059fca4d276a36f98ba6b3024d1aeb14ff395
Message:

Update ScatterPlot to the new lowercase function names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Prototypes/OWScatterPlotQt.py

    r8363 r8461  
    354354 
    355355    def alphaChange(self): 
    356         for curve in self.graph.itemList(): 
     356        for curve in self.graph.plot_items(): 
    357357            if isinstance(curve, OWCurve): 
    358358                color = curve.color() 
    359                 color.setAlpha(self.graph.alphaValue) 
    360                 curve.setColor(color) 
     359                color.setAlpha(self.graph.alpha_value) 
     360                curve.set_color(color) 
    361361        self.graph.replot() 
    362362 
     
    365365            self.updateGraph() 
    366366        else: 
    367             for curve in self.graph.itemList(): 
     367            for curve in self.graph.plot_items(): 
    368368                if isinstance(curve, OWCurve): 
    369                     curve.setPointSize(self.graph.pointWidth) 
     369                    curve.set_point_size(self.graph.point_width) 
    370370            self.graph.replot() 
    371371 
Note: See TracChangeset for help on using the changeset viewer.