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"): @@ -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"): @@ -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()

2
mtor/gui.py

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

Loading…
Cancel
Save