From 7762e299e4aa7f6fca8da28427df176865ea8193 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Sat, 29 Jul 2023 17:06:05 +0200 Subject: [PATCH] manually setting graph limits when log-scaling to reduce memory usages; --- src/gui_qt/graphs/graphwindow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui_qt/graphs/graphwindow.py b/src/gui_qt/graphs/graphwindow.py index 134a6cc..72ccdb6 100644 --- a/src/gui_qt/graphs/graphwindow.py +++ b/src/gui_qt/graphs/graphwindow.py @@ -439,6 +439,7 @@ class QGraphWindow(QtWidgets.QGraphicsView, Ui_GraphWindow): item.logmode[0] = self.log[:] self.plotItem.updateLogMode() + self.set_range(x=r[0], y=r[1]) self.plotItem.enableAutoRange()