Update sample_app.py
This commit is contained in:
parent
2cf466f5ec
commit
80d592b6ce
@ -20,7 +20,7 @@ def main(numbers_file, multiplier):
|
|||||||
numbers.
|
numbers.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
numbers = genfromtxt(numbers_file, comments="#", delimiter=",", unpack=False)
|
numbers = genfromtxt(numbers_file, comments="#", delimiter=",", unpack=False)[:,:-1]
|
||||||
multiplied_numbers = numbers * multiplier
|
multiplied_numbers = numbers * multiplier
|
||||||
plt.figure()
|
plt.figure()
|
||||||
plt.plot(multiplied_numbers)
|
plt.plot(multiplied_numbers)
|
||||||
|
Loading…
Reference in New Issue
Block a user