Skip to content

Commit

Permalink
zap unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed May 14, 2024
1 parent ee23ea1 commit fdd4fcc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/PDL/Graphics/PGPLOT/Window.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5841,19 +5841,13 @@ sub rgbi {
# What WCS system are we using?
# we could check that the WCS is valid here but we delegate it
# to the _FITS_tr() routine.
#
my %opt2 = %$u_opt; # copy options
my $wcs = delete $opt2{WCS} || "";
$opt2{Transform} = _FITS_tr($pane,$pdl,{WCS => $wcs});
delete @opt2{ grep /title/i, keys %opt2 };
$opt2{Align} //= 'CC';
$opt2{DrawWedge} //= 1;

my $min = $opt->{min} // $pdl->min;
my $max = $opt->{max} // $pdl->max;
my $unit = $pdl->gethdr->{BUNIT} || "";
my $rangestr = " ($min to $max $unit) ";

# I am assuming here that CUNIT1<A-Z> is a valid keyword for
# 'alternative' WCS mappings (DJB)
#
Expand Down

0 comments on commit fdd4fcc

Please # to comment.