On Feb 4, 8:18 pm, Jan Danielsson <[EMAIL PROTECTED]> wrote:

> def barchart(req, params):
>    some_format = matplotlib.generate_fancy_graph(params)
>    png_buf = make_png_buffer(some_format)
>    return png_buf
>
>    Is this possible? If so -- how?

savefig does that. You can save to a file name or a buffer.

http://matplotlib.sourceforge.net/matplotlib.pylab.html#-savefig

i.


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to