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

Lincoln Stein lstein at cshl.edu
Thu Jun 1 11:40:38 EDT 2006


Hi,

The border is coming from the HTML <img. To get rid of it, set -border=>0 in 
the img() call.

Lincoln



On Tuesday 30 May 2006 00:58, Jelena Obradovic wrote:
> 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;
>
> ---------------------------------------------------------------------------
>--------------------------------
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l

-- 
Lincoln D. Stein
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)
FOR URGENT MESSAGES & SCHEDULING, 
PLEASE CONTACT MY ASSISTANT, 
SANDRA MICHELSEN, AT michelse at cshl.edu


More information about the Bioperl-l mailing list