[Biopython-dev] [Bug 2964] placing x-axis of graph track at the bottom or top of the track

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Mon Dec 7 11:38:27 UTC 2009


http://bugzilla.open-bio.org/show_bug.cgi?id=2964





------- Comment #3 from Daniel.Nicorici at gmail.com  2009-12-07 06:38 EST -------
(In reply to comment #2)
> I'm guessing you are talking about GenomeDiagram? If so, yes, tracks default to
> having the x-axis line at the middle y-value (center or centre=None). Try
> setting 
> center to zero when you create the Graph object. If you could give a cut down
> example it would be easier to help.

Yes, I am referring to GenomeDiagram.

If one sets the center to zero then the lower half of the track (below the
x-axis) is always empty and unused when all values are positive, e.g. CG
content, short-read coverage have positive values.

This feature allows one to use the entire track for plotting and not only half
of it when setting center to zero is used.

Best Regards,
Daniel

> 
> Peter
> 


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list