Loading...

biopython@biopython.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [BioPython] Current tutorial in CVS Peter Mon Oct 20 01:04:24 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
_______________________________________________
BioPython mailing list  -  [EMAIL PROTECTED]
http://lists.open-bio.org/mailman/listinfo/biopython