Hi,

I am very new to python, so sorry if the question is basic.

I am also very new to Django. I followed the instructions on
https://docs.djangoproject.com/en/1.6/intro/tutorial01/ through tutorial 4
to set up a sample webpage and play around with it.

I would like to generate plots via matplotlib and display the png files on
the webpage. However, I am not sure where to start. I looked at the
cookbook here:
http://wiki.scipy.org/Cookbook/Matplotlib/Django

but I was not sure which urls.py the recommended change needs to be made to
and where charts.py should go.

Does anyone know how to embed an image in a webpage. Is there a step by
step tutorial I could follow. I found some tutorials but they were dated
and do not work with the latest versions. I am using for python 2.7.5,
matplotlib u'1.4.x' and django 1.6.2.

Thanks,
Aarthi
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to