[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:
|
if mapping:
|
||||||
comp = channel[-1]
|
comp = channel[-1]
|
||||||
n = COMPONENTS_MAPPING[comp]
|
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)
|
msg = 'plotting %s channel of station %s' % (channel, station)
|
||||||
print(msg)
|
print(msg)
|
||||||
stime = trace.stats.starttime - wfstart
|
stime = trace.stats.starttime - wfstart
|
||||||
|
Loading…
Reference in New Issue
Block a user