From f01868bc36f43770daef6ad8133ac2acb5d90bc2 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 20 Oct 2017 11:00:52 +0200 Subject: [PATCH] [bugfix] missing parameter ax for getXLims (mpl) --- PyLoT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()