[bugfix] events not properly provided to autoPyLoT by TuneAutopicker, wrong parameter name in plotting routine

This commit is contained in:
2017-06-20 14:32:21 +02:00
parent 0be5c4b694
commit ab979e9b10
4 changed files with 33 additions and 17 deletions

View File

@@ -239,8 +239,8 @@ class AICPicker(AutoPicker):
fig = self.fig
ax = fig.add_subplot(111)
x = self.Data[0].data
ax.plot(self.Tcf, x / max(x), 'k', legend='(HOS-/AR-) Data')
ax.plot(self.Tcf, aicsmooth / max(aicsmooth), 'r', legend='Smoothed AIC-CF')
ax.plot(self.Tcf, x / max(x), 'k', label='(HOS-/AR-) Data')
ax.plot(self.Tcf, aicsmooth / max(aicsmooth), 'r', label='Smoothed AIC-CF')
ax.legend()
ax.set_xlabel('Time [s] since %s' % self.Data[0].stats.starttime)
ax.set_yticks([])