From 8ce4f05a058bd0eb711f36370691663411f8560f Mon Sep 17 00:00:00 2001 From: marcel Date: Tue, 15 Aug 2017 13:46:05 +0200 Subject: [PATCH] [bugfix] manual phase text not shown --- pylot/core/util/widgets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 2e7c4493..761dbdfc 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -1743,8 +1743,8 @@ class PickDlg(QDialog): else: ax.plot([mpp, mpp], ylims, color=color, linestyle=linestyle_mpp, linewidth=width_mpp, label='{}-Pick (NO PICKERROR)'.format(phase), picker=5) - # append phase text (if textOnly: draw with current ylims) - self.phaseText.append(ax.text(mpp, ylims[1], phase)) + # append phase text (if textOnly: draw with current ylims) + self.phaseText.append(ax.text(mpp, ylims[1], phase)) elif picktype == 'auto': color = pick_color_plt(picktype, phaseID, quality) linestyle_mpp, width_mpp = pick_linestyle_plt(picktype, 'mpp')