From 31993fe8e22d7f8c8e0170cafec4f6a954b22458 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Thu, 2 May 2019 09:46:46 +0200 Subject: [PATCH] changed markers on peakplot_iloc --- mtor/dataproc.py | 12 ++++++------ mtor/gui.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mtor/dataproc.py b/mtor/dataproc.py index 8dd35cb..aa7e805 100644 --- a/mtor/dataproc.py +++ b/mtor/dataproc.py @@ -59,9 +59,9 @@ def peakplot_iloc(x, y, ix1, ix1_label="peaks", ix2=None, ix2_label="peaks"): pyplot.plot( x.iloc[ix1], y.iloc[ix1], - "r+", - ms=5, - mew=2, + "rx", + ms=8, + mew=3, label=f"{num_items} {ix1_label}", ) if ix2 is not None: @@ -69,9 +69,9 @@ def peakplot_iloc(x, y, ix1, ix1_label="peaks", ix2=None, ix2_label="peaks"): pyplot.plot( x.iloc[ix2], y.iloc[ix2], - "g1", - ms=5, - mew=2, + "k1", + ms=8, + mew=3, label=f"{num_items} {ix2_label}", ) pyplot.legend() diff --git a/mtor/gui.py b/mtor/gui.py index e60e20a..0b2bfab 100644 --- a/mtor/gui.py +++ b/mtor/gui.py @@ -181,7 +181,7 @@ def run_gui(): Popen( cmd, shell=False, - stding=None, + stdin=None, stdout=None, stderr=None, close_fds=True,