|
From: Steve B. <st...@ru...> - 2006-03-25 16:15:35
|
I am using pylab in a web application server (TurboGears/CherryPy). I need to be able to render a plot (actually a pie) in png, jpg, or gif format directly into a variable that I can return to the application server. I'm currently using the rather ugly method of writing to a temp file and then reading it back in and returning the data. Is there a way to do this completely in memory? Thanks, Steve Bergman |