From dc6b9b8ac9c194ff7b5f7a913c0b8457323799b8 Mon Sep 17 00:00:00 2001 From: Paul Garlick Date: Tue, 14 Jul 2020 10:14:12 +0100 Subject: python: slope.py: Suppress printing of maximum y-value. * python/slope.py: Disable print function. --- python/slope.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit