[BioPython] Current tutorial in CVS

Peter biopython at maubp.freeserve.co.uk
Sun Oct 19 16:34:46 UTC 2008


>
>  for those lazy would you please show how to save the generated plots into
> e.g. jpg or .svg file?

Instead or as well as pylab.show(), use pylab.savefig(...), for example:

pylab.savefig("dot_plot.png", dpi=75)
pylab.savefig("dot_plot.pdf")

On a related note - it looks like the pylab tutorial as moved, I'm
getting a 404 error on http://matplotlib.sourceforge.net/tutorial.html
now :(

It looks like http://matplotlib.sourceforge.net/api/pyplot_api.html is
the replacement.

Peter



More information about the Biopython mailing list