File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -440,6 +440,9 @@ def handleNewSignals(self):
440440 self .attr_x , self .attr_y = self .attribute_selection_list [:2 ]
441441 self .attribute_selection_list = None
442442 super ().handleNewSignals ()
443+ if self ._domain_invalidated :
444+ self .graph .update_axes ()
445+ self ._domain_invalidated = False
443446 self ._vizrank_color_change ()
444447
445448 @Inputs .features
Original file line number Diff line number Diff line change @@ -393,6 +393,7 @@ def __init__(self):
393393 self .subset_indices = None
394394 self .__pending_selection = self .selection
395395 self ._invalidated = True
396+ self ._domain_invalidated = True
396397 self .setup_gui ()
397398
398399 # GUI
@@ -446,6 +447,10 @@ def set_data(self, data):
446447 self ._invalidated = not (
447448 data_existed and self .data is not None and
448449 array_equal (effective_data .X , self .effective_data .X ))
450+ self ._domain_invalidated = not (
451+ data_existed and self .data is not None and
452+ effective_data .domain .checksum ()
453+ == self .effective_data .domain .checksum ())
449454 if self ._invalidated :
450455 self .clear ()
451456 self .enable_controls ()
You can’t perform that action at this time.
0 commit comments