65469050b8e372a40a3e942f6785d6a92619d558,Orange/widgets/evaluate/owconfusionmatrix.py,OWConfusionMatrix,set_results,#OWConfusionMatrix#Any#,109

Before Change


                for i, j in ((1, p + 2), (p + 2, 1)):
                    item = self._item(i, j)
                    item.setData(label, Qt.DisplayRole)
                    item.setData(QBrush(QColor(208, 208, 208)),
                                 Qt.BackgroundColorRole)
                    item.setTextAlignment(Qt.AlignRight | Qt.AlignVCenter)
                    item.setFlags(Qt.ItemIsEnabled)

After Change


                    item.setFont(bold_font)
                    item.setTextAlignment(Qt.AlignRight | Qt.AlignVCenter)
                    item.setFlags(Qt.ItemIsEnabled)
                    if p < len(self.headers) - 1:
                        item.setData("br"[j == 1], BorderRole)
                        item.setData(QColor(192, 192, 192), BorderColorRole)
                    self._set_item(i, j, item)

            hor_header = self.tableview.horizontalHeader()
            if len(" ".join(self.headers)) < 120:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biolab/orange3
Commit Name: 65469050b8e372a40a3e942f6785d6a92619d558
Time: 2016-02-08
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owconfusionmatrix.py
Class Name: OWConfusionMatrix
Method Name: set_results


Project Name: biolab/orange3
Commit Name: 7918df702a56fbcbf56f5f0f814b8f8b39e7b62c
Time: 2017-12-11
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/canvas/document/schemeedit.py
Class Name: SchemeEditWidget
Method Name: __signalManagerStateChanged


Project Name: biolab/orange3
Commit Name: b0b5129489369a88e730c1ff349f80e58a220b52
Time: 2014-12-05
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/classify/owclassificationtreegraph.py
Class Name: ClassificationTreeNode
Method Name: paint