Images save in "Image" folder

gitignore + *.png
This commit is contained in:
Paul-Corbalan 2020-03-30 17:15:19 +02:00
parent 93eb3df465
commit 27baa0e651
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
Image/
Image/
*.png

View File

@ -252,7 +252,7 @@ def Print_plt(Mat, N, fichier, afficher=False):
plt.title("Simulation de foudre")
plt.legend(loc='upper left')
plt.axis([0,N,0,N])
plt.savefig(fichier+".png")
plt.savefig("..\\Image\\"+fichier+".png")
if afficher:
plt.show()
plt.close()