Hello all, im new to python and web2py. i have been trying to get 
matplotlib working in web2py and followed the example at 
http://www.web2pyslices.com/slice/show/1357/matplotlib-howto this is 
working but i dont know how to plug my data into it.
return plot(data={'my plot':[(0,0),(1,1),(2,4),(3,9),(4,16)]}) is where the 
figures are hardcoded in for the example so what im trying to 
do is replace these five points with data which will be generated from a 
query to my database. this is probably a simple matter for 
someone who knows what they are doing so any help would be greatly 
appreciated. hopefully my question is clear but if any more
details would help please let me know

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to