[Bioperl-l] Bio::GRaphics query

Lincoln Stein lstein@cshl.org
Tue, 1 Oct 2002 07:15:32 -0400


Aaron got to this first, but yes, it is almost certainly the legend that is 
causing the problem.  For glyphs that vary according to score, the best 
solution is to chuck the legend completely and set the -key_style to 
"between" when you create the panel.

The background information on this is that in order to draw the legend, the 
panel creates a number of "dummy" features that are then passed to the 
callbacks for rendering, etc.  Because the score can be anything, the panel 
can't choose a reasonable value and so creates a glyph with an undef score.

Lincoln

	

On Monday 30 September 2002 07:37 am, Aaron J Mackey wrote:
> On Mon, 30 Sep 2002, Richard Adams wrote:
> > Yet the 'default' code is executed twice, despite the fact that all the
> > features in the final .png file appear to have been scaled correctly.
>
> Are you drawing a legend?  If so, two features (probably without scores)
> are being drawn ...
>
> -Aaron
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l

-- 
Lincoln Stein
lstein@cshl.org