Skip to content

Commit ed7d705

Browse files
committed
Fixed flickering on plot update
1 parent eba774c commit ed7d705

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

activity_browser/layouts/tabs/LCA_results_tabs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,7 @@ def update_plot(self):
11541154
self.plot.figure.clf()
11551155
# name is already altered by set_filename before update_plot occurs.
11561156
name = self.plot.plot_name
1157+
self.plot.setVisible(False)
11571158
self.plot.deleteLater()
11581159
self.plot = ContributionPlot(self)
11591160
self.pt_layout.insertWidget(idx, self.plot)

0 commit comments

Comments
 (0)