[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 94236190ba
commit 8866d54428

View File

@ -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 = {