#+begin_src python :file graph.png from pylab import *
t = arange(0.0, 2.0, 0.01) s = sin(2*pi*t) plot(t, s, linewidth=1.0)
xlabel('time (s)') ylabel('voltage (mV)') title('About as simple as it gets, folks') grid(True) savefig("graph.png",dpi=50) #+end_src
#+results:
[[file:graph.png]]
I'm wondering over one thing though. When exporting to HTML, the ditaa source code is omitted, but the python source code is included. Is there any way of controlling this in begin_src?