[bugfix] plotting map without picks lead to an exception
This commit is contained in:
parent
74c68d6a14
commit
8164710ea4
@ -517,6 +517,7 @@ class Array_map(QtGui.QWidget):
|
||||
self.scatter_all_stations()
|
||||
if picks_available:
|
||||
self.scatter_picked_stations()
|
||||
if hasattr(self, 'sc_picked'):
|
||||
self.cbar = self.add_cbar(label='Time relative to first onset ({}) [s]'.format(self._earliest_picktime))
|
||||
self.comboBox_phase.setEnabled(True)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user