Hi all, I'm trying generate a image to pdf. Well, is to convert a Figure matplotlib's object to an image or object that can be drawImage used in the canvas. See my code like this:
http://paste.pocoo.org/show/234628/ My urls.py: urlpatterns = patterns('simuladores.detector.views', (r'^grafico/$', 'envia_template'), (r'^pdf/$', 'pdf'), (r'^index/$', 'index'), But returns the ERROR: IOError at /pdf/ Cannot open resource "Figure(640x480)" fileName=<matplotlib.figure.Figure object at 0x02927490> Request Method: GET Request URL: http://localhost:8000/pdf/ Exception Type: IOError Exception Value: Cannot open resource "Figure(640x480)" fileName=<matplotlib.figure.Figure object at 0x02927490> Please help me -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.