diff --git a/PyLoT.py b/PyLoT.py index fe0b9671..f85d52ea 100755 --- a/PyLoT.py +++ b/PyLoT.py @@ -1633,7 +1633,7 @@ class MainWindow(QMainWindow): if self.pg: self.finish_pg_plot() else: - self._max_xlims = self.dataPlot.getXLims() + self._max_xlims = self.dataPlot.getXLims(self.dataPlot.axes[0]) plotWidget = self.getPlotWidget() plotDict = plotWidget.getPlotDict() pos = plotDict.keys()