diff --git a/.gitignore b/.gitignore index 9ab2ed8..e618b9d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -Image/ \ No newline at end of file +Image/ +*.png \ No newline at end of file diff --git a/Simulation_DBM/Simulation_DBM.py b/Simulation_DBM/Simulation_DBM.py index 7a18452..3684bb2 100644 --- a/Simulation_DBM/Simulation_DBM.py +++ b/Simulation_DBM/Simulation_DBM.py @@ -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()