bugfix: could not highlight pick after it was deleted in plot_traces

This commit is contained in:
Marcel Paffrath 2015-11-16 12:09:00 +01:00
parent 0f1427a9f0
commit 647fddb904

View File

@ -338,6 +338,9 @@ class regions(object):
if type(shot) == int:
shot = self.survey.getShotDict()[shot]
if shot.getFlag(traceID) is 0:
return
self.ax.scatter(shot.getDistance(traceID), shot.getPick(traceID), s = 50, marker = 'o', facecolors = 'none', edgecolors = 'm', alpha = 1)
if annotations == True:
self.ax.annotate(s='s%s|t%s' % (shot.getShotnumber(), traceID), xy=(shot.getDistance(traceID), shot.getPick(traceID)), fontsize='xx-small')