|
From: Aarthi R. <aar...@gm...> - 2014-03-17 22:56:57
|
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 |