[bugfix] missing parameter ax for getXLims (mpl)

This commit is contained in:
Marcel Paffrath 2017-10-20 11:00:52 +02:00
parent 36e68ee1ed
commit f01868bc36

View File

@ -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()