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/OWScatterPlot.py

    r8042 r9546  
    3636        OWWidget.__init__(self, parent, signalManager, "Scatter Plot", 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 = OWScatterPlotGraph(self, self.mainArea, "ScatterPlot") 
     
    252252    def sendSelections(self): 
    253253        (selected, unselected) = self.graph.getSelectionsAsExampleTables([self.attrX, self.attrY]) 
    254         self.send("Selected Examples",selected) 
    255         self.send("Unselected Examples",unselected) 
     254        self.send("Selected Data",selected) 
     255        self.send("Other Data",unselected) 
    256256 
    257257 
Note: See TracChangeset for help on using the changeset viewer.