[bugfix] missing parameter in getGlobalLimits

This commit is contained in:
Marcel Paffrath 2017-09-12 15:31:02 +02:00
parent 8381782194
commit f2f908f8b5

View File

@ -1384,7 +1384,7 @@ class PickDlg(QDialog):
return return
ax = self.multicompfig.axes[0] ax = self.multicompfig.axes[0]
if not textOnly: if not textOnly:
ylims = self.getGlobalLimits('y') ylims = self.getGlobalLimits(ax, 'y')
else: else:
ylims = self.multicompfig.getYLims(ax) ylims = self.multicompfig.getYLims(ax)
stime = self.getStartTime() stime = self.getStartTime()
@ -1635,8 +1635,8 @@ class PickDlg(QDialog):
def setYLims(self, limits): def setYLims(self, limits):
self.cur_ylim = limits self.cur_ylim = limits
def getGlobalLimits(self, axis): def getGlobalLimits(self, ax, axis):
return self.multicompfig.getGlobalLimits(axis) return self.multicompfig.getGlobalLimits(ax, axis)
def getWFData(self): def getWFData(self):
return self.data return self.data