diff --git a/src/gui_qt/graphs/graphwindow.py b/src/gui_qt/graphs/graphwindow.py index 7f8356a..94cbff4 100644 --- a/src/gui_qt/graphs/graphwindow.py +++ b/src/gui_qt/graphs/graphwindow.py @@ -55,6 +55,11 @@ class QGraphWindow(QtWidgets.QGraphicsView, Ui_GraphWindow): self._external_items = [] self.closable = True + # desperate attempts to improve memory usage during paintEvents + self.graphic.setAntialiasing(False) + self.plotItem.setDownsampling(auto=True) + self.plotItem.setClipToView(True) + self._block = False self.log = [False, False]