[bugfix] now plotting of picks works also if less data than picks are available

This commit is contained in:
Sebastian Wehling-Benatelli 2016-09-08 15:29:37 +02:00
parent a2ddd04b2f
commit 6e6b3570a8

View File

@ -866,6 +866,8 @@ class MainWindow(QMainWindow):
return
# plotting picks
plotID = self.getStationID(station)
if not plotID:
return
ax = self.getPlotWidget().axes
ylims = np.array([-.5, +.5]) + plotID
phase_col = {