Browse Source

changed markers on peakplot_iloc

master
Holger Frey 6 years ago
parent
commit
31993fe8e2
  1. 12
      mtor/dataproc.py
  2. 2
      mtor/gui.py

12
mtor/dataproc.py

@ -59,9 +59,9 @@ def peakplot_iloc(x, y, ix1, ix1_label="peaks", ix2=None, ix2_label="peaks"):
pyplot.plot( pyplot.plot(
x.iloc[ix1], x.iloc[ix1],
y.iloc[ix1], y.iloc[ix1],
"r+", "rx",
ms=5, ms=8,
mew=2, mew=3,
label=f"{num_items} {ix1_label}", label=f"{num_items} {ix1_label}",
) )
if ix2 is not None: 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( pyplot.plot(
x.iloc[ix2], x.iloc[ix2],
y.iloc[ix2], y.iloc[ix2],
"g1", "k1",
ms=5, ms=8,
mew=2, mew=3,
label=f"{num_items} {ix2_label}", label=f"{num_items} {ix2_label}",
) )
pyplot.legend() pyplot.legend()

2
mtor/gui.py

@ -181,7 +181,7 @@ def run_gui():
Popen( Popen(
cmd, cmd,
shell=False, shell=False,
stding=None, stdin=None,
stdout=None, stdout=None,
stderr=None, stderr=None,
close_fds=True, close_fds=True,

Loading…
Cancel
Save