Ignore:
Timestamp:
01/18/12 10:56:15 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
a367b01157310c282e7919193d767127e7829e26
Message:

Renamed widget channel names in line with the new naming rules/convention.
Added backwards compatibility in orngDoc loadDocument to enable loading of schemas saved before the change.

File:
1 edited

Legend:

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

    r8735 r9546  
    3636        OWWidget.__init__(self, parent, signalManager, "Scatterplot (Qt)", TRUE) 
    3737 
    38         self.inputs =  [("Examples", ExampleTable, self.setData, Default), ("Example Subset", ExampleTable, self.setSubsetData), ("Attribute selection", AttributeList, self.setShownAttributes), ("Evaluation Results", orngTest.ExperimentResults, self.setTestResults), ("VizRank Learner", orange.Learner, self.setVizRankLearner)] 
    39         self.outputs = [("Selected Examples", ExampleTable), ("Unselected Examples", ExampleTable)] 
     38        self.inputs =  [("Data", ExampleTable, self.setData, Default), ("Data Subset", ExampleTable, self.setSubsetData), ("Features", AttributeList, self.setShownAttributes), ("Evaluation Results", orngTest.ExperimentResults, self.setTestResults), ("VizRank Learner", orange.Learner, self.setVizRankLearner)] 
     39        self.outputs = [("Selected Data", ExampleTable), ("Other Data", ExampleTable)] 
    4040 
    4141        self.graph = OWScatterPlotGraphQt(self, self.mainArea, "ScatterPlotQt") 
     
    258258    def sendSelections(self): 
    259259        (selected, unselected) = self.graph.getSelectionsAsExampleTables([self.attrX, self.attrY]) 
    260         self.send("Selected Examples",selected) 
    261         self.send("Unselected Examples",unselected) 
     260        self.send("Selected Data",selected) 
     261        self.send("Other Data",unselected) 
    262262 
    263263 
Note: See TracChangeset for help on using the changeset viewer.