Skip to content

Commit

Permalink
Merge pull request #1545 from janezd/sieve-context-meta
Browse files Browse the repository at this point in the history
[FIX] Context attributes with metas in Sieve and Mosaic
  • Loading branch information
astaric committed Sep 23, 2016
2 parents d84aadf + f746440 commit 9f9d114
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Orange/widgets/visualize/owmosaic.py
Expand Up @@ -36,11 +36,11 @@ class OWMosaicDisplay(OWWidget):

settingsHandler = DomainContextHandler()
use_boxes = Setting(True)
variable1 = ContextSetting("")
variable2 = ContextSetting("")
variable3 = ContextSetting("")
variable4 = ContextSetting("")
selection = ContextSetting({})
variable1 = ContextSetting("", exclude_metas=False)
variable2 = ContextSetting("", exclude_metas=False)
variable3 = ContextSetting("", exclude_metas=False)
variable4 = ContextSetting("", exclude_metas=False)
selection = ContextSetting(set())
# interior_coloring is context setting to properly reset it
# if the widget switches to regression and back (set setData)
interior_coloring = ContextSetting(1)
Expand Down Expand Up @@ -192,7 +192,7 @@ def handleNewSignals(self):
self.reset_graph()

def clear_selection(self):
self.selection = {}
self.selection = set()
self.update_selection_rects()
self.send_selection()

Expand Down
4 changes: 2 additions & 2 deletions Orange/widgets/visualize/owsieve.py
Expand Up @@ -67,8 +67,8 @@ class OWSieveDiagram(OWWidget):
want_control_area = False

settingsHandler = DomainContextHandler()
attrX = ContextSetting("")
attrY = ContextSetting("")
attrX = ContextSetting("", exclude_metas=False)
attrY = ContextSetting("", exclude_metas=False)
selection = ContextSetting(set())

def __init__(self):
Expand Down

0 comments on commit 9f9d114

Please sign in to comment.