Vineet

Sorry - I was not too clear on my question; I *am* currently able
to use matplotlib - what I am not sure how to is to integrate 
it into a web framework.  I have been looking at using Pylons - 
as that is WSGI compliant - but probably any one will do.
 
I would like to be able to generate graphs "on the fly" from database 
data (and I assume your graphs are done a similar way), and so I 
was wondering what are the specifics of the approach you used
for this - is it just a case of installing Python onto a server,
plus the web framework code, and then importing the matplotlib
code - if so, what command is used to "pull" the graph into the
web page - the matplotlib "show" command? - or do you store the
graph somewhere on a temporary basis and then delete again when
done??
 
Thanks
Derek

PS <1 sec to make a chart sounds quick - given that it takes much
longer 
than  1 second to load the chart across the web into one's browser...

>>> Vinj Vinj <[EMAIL PROTECTED]> 2006/10/09 04:25 PM >>>

> Any change you could share back with the community
the approach
> you followed - web framework used?  integration
strategy?  deploy-
> ment and setup issues?  graph creation methodology?

web framework used: cherrypy
deploymnet os: ubuntu
setup issues: none

> I am looking to tackle a project with multi-chart
reporting 
> component features and would really love to use
Matplotlib
> with it.... but am not quite sure where to start. 

matplotlib comes with a lot of examples and that's
probably the best
place to start. There is an example for how to  save
charts to a file
(which is what I do) and another one for streaming the
charts back to
the user.

The only issue I have faced is that matplotlib is slow
for my chart types (takes about 0.8 seconds to do a
chart). I'm hoping that future version of matplotlib
will be faster. 

Guys at stockcharts.com generate charts in about 0.3
seconds. So matplotlib (for the charts I generate) is
about 2.5 slower than what they use. For most people
that might not be an issue, but since I pre-generate
100,000s of graphs daily it can cause a lot of pain. 

Vineet


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
[EMAIL PROTECTED]


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to