[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: if self.pg:
self.finish_pg_plot() self.finish_pg_plot()
else: else:
self._max_xlims = self.dataPlot.getXLims() self._max_xlims = self.dataPlot.getXLims(self.dataPlot.axes[0])
plotWidget = self.getPlotWidget() plotWidget = self.getPlotWidget()
plotDict = plotWidget.getPlotDict() plotDict = plotWidget.getPlotDict()
pos = plotDict.keys() pos = plotDict.keys()