Skip to content

Commit

Permalink
owheatmap: Reset the view's scene/header/footer rects on clear
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Jul 19, 2019
1 parent 2caf1a2 commit afc2f64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Orange/widgets/visualize/owheatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,9 @@ def clear_scene(self):
self.col_dendrograms = []
self.row_dendrograms = []
self.selection_rects = []
self.sceneView.setSceneRect(QRectF())
self.sceneView.setHeaderSceneRect(QRectF())
self.sceneView.setFooterSceneRect(QRectF())

@Inputs.data
def set_dataset(self, data=None):
Expand Down

0 comments on commit afc2f64

Please sign in to comment.