E14
unknown
python
4 years ago
291 B
4
Indexable
import numpy as np from matplotlib import pyplot as plt arr = np.loadtxt("IN.csv", dtype=int) # find max print(max(arr)) # plot line graph to see peaks and save graph to file plt.xlabel("Day") plt.ylabel("Cases") plt.plot(arr) plt.savefig("E14.png") plt.show() plt.close()
Editor is loading...