[fixes #193] fixed bug introduced by component mapping
fixes a bug which was introduced in revision b8d680f54f
This commit is contained in:
parent
7b22bce2b0
commit
fef1a95391
@ -99,7 +99,8 @@ class MPLWidget(FigureCanvas):
|
||||
if mapping:
|
||||
comp = channel[-1]
|
||||
n = COMPONENTS_MAPPING[comp]
|
||||
nmax = n if n > nmax else nmax
|
||||
if n > nmax:
|
||||
nmax = n
|
||||
msg = 'plotting %s channel of station %s' % (channel, station)
|
||||
print(msg)
|
||||
stime = trace.stats.starttime - wfstart
|
||||
|
Loading…
Reference in New Issue
Block a user