[fixes #193] fixed bug introduced by component mapping
fixes a bug which was introduced in revision b8d680f54f79b606431f63bb1f98f177ccc77bcb
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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user