From 82d9d45abf85a80b5dcd9f01b5d4da8ece4a7b1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Wed, 1 Jul 2015 15:37:07 +0200 Subject: [PATCH] Marginal changes. --- pylot/core/pick/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/core/pick/utils.py b/pylot/core/pick/utils.py index 4e1c9ca3..3f3a91b7 100644 --- a/pylot/core/pick/utils.py +++ b/pylot/core/pick/utils.py @@ -528,7 +528,7 @@ def wadaticheck(pickdic, dttolerance, iplot): print 'wadaticheck: Not enough S-P times available for reliable regression!' print 'Skip wadati check!' wfitflag = 1 - iplot=2 + # plot results if iplot > 1: plt.figure(iplot) @@ -709,7 +709,7 @@ def checkPonsets(pickdic, dttolerance, iplot): checkedonsets = pickdic - iplot = 2 + if iplot > 1: p1, = plt.plot(np.arange(0, len(Ppicks)), Ppicks, 'r+', markersize=14) p2, = plt.plot(igood, np.array(Ppicks)[igood], 'g*', markersize=14)