Update exercice_python_fr.org

parent 229f8793
......@@ -32,6 +32,7 @@ x=np.array(data)
#+begin_src python :results output file :session :var matplot_lib_filename="./figure1.png" :exports both
plt.clf()
plt.plot(x)
plt.grid(True)
plt.savefig(matplot_lib_filename)
print(matplot_lib_filename)
#+end_src
......@@ -42,6 +43,7 @@ print(matplot_lib_filename)
#+begin_src python :results output file :session :var matplot_lib_filename="./figure2.png" :exports both
plt.clf()
plt.hist(x)
plt.grid(True)
plt.savefig(matplot_lib_filename)
print(matplot_lib_filename)
#+end_src
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment