from matplotlib import pyplot as plt
x=[1,2,3,4]
y=[1,4,9,16]
plt.plot(x,y)
plt.show()
plt.savefig("plot.png")
No hay comentarios:
Publicar un comentario