Commits

Amela Rakanovic committed e08a50c

Restored mistakenly changed file `OWDistributionsQt.py`.

Comments (0)

Files changed (1)

Orange/OrangeWidgets/Visualize Qt/OWDistributionsQt.py

 # OWDistributions.py
 # Shows data distributions, distribution of attribute values and distribution of classes for each attribute
 #
-import Orange
 
 from OWColorPalette import ColorPixmap, ColorPaletteGenerator
 from OWWidget import *
 
     def setVariable(self, variable):
         self.attributeName = variable
-        if variable: self.setXaxisTitle(str(variable))
+        if variable: self.setXaxisTitle(variable)
         else:        self.setXaxisTitle("")
 
         if not self.data: return
 ##    from pywin.debugger import set_trace
 ##    set_trace()
     owd.show()
-    data=orange.ExampleTable("../doc/datasets/heart_disease.tab")
+    data=orange.ExampleTable("../../doc/datasets/housing.tab")
     owd.setData(data)
     a.exec_()
     owd.saveSettings()