more questions about the PS backend


the current way the PostScript backend works is as follows:

  1) FigureCanvasPS.print_figure() uses StringIO to make a string look like
     a file.

  2) The RendererPS class writes the PostScript file (except for the headers)
     into this string, using file operations. This is done via call to

  3) FigureCanvasPS.print_figure() writes the resulting string into the
     output file.

Is there a reason for storing the PostScript data in a string first?
Otherwise I could just pass the real file handle to RendererPS and it
would write all the stuff directly into the output file.

All the best,