diff --git a/Orange/widgets/visualize/owtreeviewer.py b/Orange/widgets/visualize/owtreeviewer.py index e24922b6031..d7c970f4548 100644 --- a/Orange/widgets/visualize/owtreeviewer.py +++ b/Orange/widgets/visualize/owtreeviewer.py @@ -358,7 +358,7 @@ def update_node_info_cls(self, node): else: modus = np.argmax(distr) tabs = distr[modus] - text = f"{self.domain.class_vars[0].values[int(modus)]}
" + text = f"{self.domain.class_vars[0].values[int(modus)]}
" if tabs > 0.999: text += f"100%, {total}/{total}" else: @@ -373,7 +373,7 @@ def update_node_info_reg(self, node): node_inst = node.node_inst mean, var = self.tree_adapter.get_distribution(node_inst)[0] insts = self.tree_adapter.num_samples(node_inst) - text = f"{mean:.1f} ± {var:.1f}
" + text = f"{mean:.1f} ± {var:.1f}
" text += f"{insts} instances" text = self._update_node_info_attr_name(node, text) node.setHtml(