[bugfix] check for time_ax not working this way
This commit is contained in:
1 parent
c90a2f6ae1
commit
4c42d34adc
1 file changed
+1
-1
@@ -598,7 +598,7 @@ class WaveformWidgetPG(QtGui.QWidget):
|
||||
if trace_syn:
|
||||
trace_syn.data, time_ax_syn = self.minMax(trace_syn, time_ax_syn)
|
||||
|
||||
if time_ax not in [None, []]:
|
||||
if len(time_ax) > 0:
|
||||
if not scaleddata:
|
||||
trace.detrend('constant')
|
||||
trace.normalize(np.max(np.abs(trace.data)) * 2)
|
||||
|
||||
Reference in new issue
Block a user