bcfd8967b252aca332cf7684ba84c51bc4528177,Orange/widgets/gui.py,TableBarItem,paint,#TableBarItem#Any#Any#Any#,1771
Before Change
if self.color_schema is not None and table is not None\
and table.domain.classVar\
and isinstance(table.domain.classVar, Orange.data.DiscreteVariable):
class_ = index.data(TableClassValueRole).toPyObject()
if not class_.isSpecial():
color = self.color_schema[int(class_)]
else:
color = self.color
After Change
color = self.color
if (self.color_schema is not None and table is not None and
isinstance(table.domain.class_var, Orange.data.DiscreteVariable)):
class_ = index.data(TableClassValueRole)
if not math.isnan(class_):
color = self.color_schema[int(class_)]
else:
color = self.color
In pattern: SUPERPATTERN
Frequency: 11
Non-data size: 3
Instances Project Name: biolab/orange3
Commit Name: bcfd8967b252aca332cf7684ba84c51bc4528177
Time: 2013-01-21
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/gui.py
Class Name: TableBarItem
Method Name: paint
Project Name: biolab/orange3
Commit Name: 63d28365ee4e33072e12aaab4db180f85da6be6f
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/registry/qt.py
Class Name: QtWidgetRegistry
Method Name: action_for_widget
Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/application/canvasmain.py
Class Name: CanvasMainWindow
Method Name: on_tool_box_widget_activated
Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/application/canvastooldock.py
Class Name: QuickCategoryToolbar
Method Name: createButtonForAction
Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/application/widgettoolbox.py
Class Name: WidgetToolBox
Method Name: __insertItem
Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/document/schemeedit.py
Class Name: SchemeEditWidget
Method Name: __onArrowColorTriggered
Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/document/schemeedit.py
Class Name: SchemeEditWidget
Method Name: __toggleNewArrowAnnotation
Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/document/interactions.py
Class Name: NewLinkAction
Method Name: create_new
Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/application/widgettoolbox.py
Class Name: WidgetToolGrid
Method Name: __startDrag
Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/document/interactions.py
Class Name: NewNodeAction
Method Name: create_new
Project Name: biolab/orange3
Commit Name: d9a9943b590df022dc905c3d53df705a2a6d5866
Time: 2013-01-17
Author: anze.staric@gmail.com
File Name: Orange/canvas/document/quickmenu.py
Class Name: QuickMenu
Method Name: createPage