bugfix: could not highlight pick after it was deleted in plot_traces
This commit is contained in:
parent
0f1427a9f0
commit
647fddb904
@ -338,6 +338,9 @@ class regions(object):
|
|||||||
if type(shot) == int:
|
if type(shot) == int:
|
||||||
shot = self.survey.getShotDict()[shot]
|
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)
|
self.ax.scatter(shot.getDistance(traceID), shot.getPick(traceID), s = 50, marker = 'o', facecolors = 'none', edgecolors = 'm', alpha = 1)
|
||||||
if annotations == True:
|
if annotations == True:
|
||||||
self.ax.annotate(s='s%s|t%s' % (shot.getShotnumber(), traceID), xy=(shot.getDistance(traceID), shot.getPick(traceID)), fontsize='xx-small')
|
self.ax.annotate(s='s%s|t%s' % (shot.getShotnumber(), traceID), xy=(shot.getDistance(traceID), shot.getPick(traceID)), fontsize='xx-small')
|
||||||
|
Loading…
Reference in New Issue
Block a user