1
0
forked from IPKM/nmreval

manually setting graph limits when log-scaling to reduce memory usages;

This commit is contained in:
Dominik Demuth 2023-07-29 17:06:05 +02:00
parent 2b2c6e932d
commit 7762e299e4

View File

@ -439,6 +439,7 @@ class QGraphWindow(QtWidgets.QGraphicsView, Ui_GraphWindow):
item.logmode[0] = self.log[:] item.logmode[0] = self.log[:]
self.plotItem.updateLogMode() self.plotItem.updateLogMode()
self.set_range(x=r[0], y=r[1])
self.plotItem.enableAutoRange() self.plotItem.enableAutoRange()