[bugfix] now plotting of picks works also if less data than picks are available
This commit is contained in:
parent
a2ddd04b2f
commit
6e6b3570a8
@ -866,6 +866,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…
Reference in New Issue
Block a user