From 7b72293f57a8c19faf64ac804a919f91a3ca3201 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 30 Jan 2019 22:18:37 +0000 Subject: [PATCH] fix: y=f(t) therefor use y as variable name --- time_series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/time_series.py b/time_series.py index d763e22..bbaf50c 100644 --- a/time_series.py +++ b/time_series.py @@ -2,8 +2,8 @@ import matplotlib.pyplot as plt from numpy import random as ran t = range(50) -x = (ran.rand(50)*50) + 2000 # I don't have real data -plt.plot(t, x) +y = (ran.rand(50)*50) + 2000 # I don't have real data +plt.plot(t, y) plt.title('Some time series with left title', loc='left') plt.ylabel('Mass of test mass over time') plt.show() -- 2.44.0