aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Garlick <pgarlick@tourbillion-technology.com>2020-07-14 10:14:12 +0100
committerPaul Garlick <pgarlick@tourbillion-technology.com>2020-07-14 10:14:12 +0100
commitdc6b9b8ac9c194ff7b5f7a913c0b8457323799b8 (patch)
tree168f0c3eac1a45c26dd0ee56bd66e49720136c3c
parentd230759d440f918b9ba71297afd96478b48574c7 (diff)
downloadfullSWOF-utils-dc6b9b8ac9c194ff7b5f7a913c0b8457323799b8.tar.gz
python: slope.py: Suppress printing of maximum y-value.
* python/slope.py: Disable print function.
-rwxr-xr-xpython/slope.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/slope.py b/python/slope.py
index 1ce9115..c545b9f 100755
--- a/python/slope.py
+++ b/python/slope.py
@@ -163,7 +163,7 @@ def plot_curve(MY, PX):
# Fit with polyfit
m, c = np.polyfit([MY - y*PX for y in ych], zch, 1)
print('gradient =', m, 'intercept =', c)
- print('MY =', MY)
+ # print('MY =', MY)
fig, ax = plt.subplots()
line1, = ax.plot([MY - y*PX for y in ych], zch)