Skip to content

Commit

Permalink
Merge pull request biolab#1804 from astaric/fix-examples
Browse files Browse the repository at this point in the history
[FIX] TreeGraph: Compatibility with old schemas
  • Loading branch information
janezd authored and astaric committed Jan 4, 2017
1 parent fdb24c0 commit 6e98ab2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Orange/widgets/visualize/owtreeviewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ class OWTreeGraph(OWTreeViewer2D):
target_class_index = ContextSetting(0)
regression_colors = Setting(0)

replaces = [
"Orange.widgets.classify.owclassificationtreegraph.OWClassificationTreeGraph",
"Orange.widgets.classify.owregressiontreegraph.OWRegressionTreeGraph"
]

COL_OPTIONS = ["Default", "Number of instances", "Mean value", "Variance"]
COL_DEFAULT, COL_INSTANCE, COL_MEAN, COL_VARIANCE = range(4)

Expand Down

0 comments on commit 6e98ab2

Please sign in to comment.