diff --git a/sample_app.py b/sample_app.py index 508f8e7..4beb718 100644 --- a/sample_app.py +++ b/sample_app.py @@ -20,7 +20,7 @@ def main(numbers_file, multiplier): numbers. """ - numbers = genfromtxt(numbers_file, comments="#", delimiter=",", unpack=False) + numbers = genfromtxt(numbers_file, comments="#", delimiter=",", unpack=False)[:,:-1] multiplied_numbers = numbers * multiplier plt.figure() plt.plot(multiplied_numbers)