Package Bio :: Package Graphics
[hide private]
[frames] | no frames]

Package Graphics

source code

Bio.Graphics offsers several graphical ouputs, all using ReportLab.

Submodules [hide private]

Functions [hide private]
 
_write(drawing, output_file, format, dpi=72)
Helper function to standize output to files (PRIVATE).
source code
Function Details [hide private]

_write(drawing, output_file, format, dpi=72)

source code 
Helper function to standize output to files (PRIVATE).

Writes the provided drawing out to a file in a prescribed format.

drawing - suitable ReportLab drawing object.
output_file - a handle to write to, or a filename to write to.
format - String indicating output format, one of PS, PDF, SVG,
         or provided the ReportLab renderPM module is installed,
         one of the bitmap formats JPG, BMP, GIF, PNG, TIFF or TIFF.
         The format can be given in any case.
dpi - Resolution (dots per inch) for bitmap formats.

No return value.