grammar in code updated and fixed bug in fit.py

This commit is contained in:
janis
2022-06-28 18:20:23 +02:00
parent 03ed83454e
commit de84292bb8
3 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ plt.annotate(formula, xy=(0.85,60))
plt.grid(True)
plt.show()
saveit = input("Sollen der Graph gespeichert werden? (y/n) ")
saveit = input("Sollen der Graph gespeichert werden? (y/n) ").lower()
if saveit == "y":
plt.savefig("Sonde"+str(n)+".png")
plt.savefig("Sonde"+str(n)+".pdf", format="pdf")