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