dynamic CGI images

Perhaps John can comment on whether he foresees adding

    > write-to-stream functionality with Agg.

I'd like to add it - I'll put it on the TODO list. Shouldn't be too

In the meantime, you have the option of using string methods. Eg, if
you are using the agg backend

  plot(blah, blah)
  canvas = get_current_fig_manager().canvas
  s = canvas.tostring_rgb()

Use this in place of savefig / show. You can then print this string
to any stream you like.

See examples/to_numeric.py for an example of getting the agg canvas as
a string and then resizing it into a Numeric array or displaying it
with PIL.