[bugfix] manual phase text not shown
This commit is contained in:
parent
4bb616492c
commit
8ce4f05a05
@ -1743,8 +1743,8 @@ class PickDlg(QDialog):
|
|||||||
else:
|
else:
|
||||||
ax.plot([mpp, mpp], ylims, color=color, linestyle=linestyle_mpp, linewidth=width_mpp,
|
ax.plot([mpp, mpp], ylims, color=color, linestyle=linestyle_mpp, linewidth=width_mpp,
|
||||||
label='{}-Pick (NO PICKERROR)'.format(phase), picker=5)
|
label='{}-Pick (NO PICKERROR)'.format(phase), picker=5)
|
||||||
# append phase text (if textOnly: draw with current ylims)
|
# append phase text (if textOnly: draw with current ylims)
|
||||||
self.phaseText.append(ax.text(mpp, ylims[1], phase))
|
self.phaseText.append(ax.text(mpp, ylims[1], phase))
|
||||||
elif picktype == 'auto':
|
elif picktype == 'auto':
|
||||||
color = pick_color_plt(picktype, phaseID, quality)
|
color = pick_color_plt(picktype, phaseID, quality)
|
||||||
linestyle_mpp, width_mpp = pick_linestyle_plt(picktype, 'mpp')
|
linestyle_mpp, width_mpp = pick_linestyle_plt(picktype, 'mpp')
|
||||||
|
Loading…
Reference in New Issue
Block a user