dynamic CGI images

Hi,

I'm trying to generate dynamic images, using CGI, with matplotlib. I'd like to have a CGI script return the images directly, instead of having to use savefig() first to write them to a file.

Is there a way to do this?

Trevor