Skip to content

Commit b790942

Browse files
janezdastaric
authored andcommitted
Merge pull request biolab#1804 from astaric/fix-examples
[FIX] TreeGraph: Compatibility with old schemas
1 parent f2e97cf commit b790942

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Orange/widgets/visualize/owtreeviewer.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ class OWTreeGraph(OWTreeViewer2D):
163163
target_class_index = ContextSetting(0)
164164
regression_colors = Setting(0)
165165

166+
replaces = [
167+
"Orange.widgets.classify.owclassificationtreegraph.OWClassificationTreeGraph",
168+
"Orange.widgets.classify.owregressiontreegraph.OWRegressionTreeGraph"
169+
]
170+
166171
COL_OPTIONS = ["Default", "Number of instances", "Mean value", "Variance"]
167172
COL_DEFAULT, COL_INSTANCE, COL_MEAN, COL_VARIANCE = range(4)
168173

0 commit comments

Comments
 (0)