[bugfix] now plotting of picks works also if less data than picks are available
This commit is contained in:
		
							parent
							
								
									94236190ba
								
							
						
					
					
						commit
						8866d54428
					
				| @ -876,6 +876,8 @@ class MainWindow(QMainWindow): | |||||||
|             return |             return | ||||||
|         # plotting picks |         # plotting picks | ||||||
|         plotID = self.getStationID(station) |         plotID = self.getStationID(station) | ||||||
|  |         if not plotID: | ||||||
|  |             return | ||||||
|         ax = self.getPlotWidget().axes |         ax = self.getPlotWidget().axes | ||||||
|         ylims = np.array([-.5, +.5]) + plotID |         ylims = np.array([-.5, +.5]) + plotID | ||||||
|         phase_col = { |         phase_col = { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user