[Bioperl-l] Bio::Graphic::Panel backgroud color

Jelena Obradovic jelenaob at gmail.com
Tue May 30 04:58:35 UTC 2006


Hello everybody,

does anybody know how to remove the background color of the Panel.
Currently, I am not adding anything to it, so I can troubleshot the problem,
and I have tried setting up
all color attributes I could find to the panel, but no luck. Whatever I do,
I get the BLUE border of the panel.

Has anybody faced the same problem?

Thanks in advance,

Jelena

And here is the code I am currently using:

-----------------------------------------------------------------------------------------------------------
my $panel =
    Bio::Graphics::Panel->new(-length => $prim_seq->length() + 200,
                              -width => 800,
                              -pad_left => 10,
                              -pad_right => 10,
                              -key_color => 'white',
                              -bgcolor => 'white',
                              -gridcolor=>'black',
                              -fgcolor => 'black',
                              -grid => 0,
                              );
   my ($url,$map,$mapname) = $panel->image_and_map( #-root=>'$root_url' ,
     -url  => '/tmpimages');
   #make clickable image
   print $cgi->img({-src=>$url,-usemap=>"#$mapname"});
   print $map;

-----------------------------------------------------------------------------------------------------------



More information about the Bioperl-l mailing list