We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2611b7 commit ff1a2a0Copy full SHA for ff1a2a0
1 file changed
lib/PDL/Graphics/TriD/Graph.pm
@@ -347,7 +347,7 @@ sub new {
347
348
sub init_scale {
349
my ($this) = @_;
350
- $this->{Scale} = [];
+ $this->{Scale} = [undef, undef, [100,1012.5]];
351
}
352
353
sub add_scale {
@@ -363,10 +363,6 @@ sub add_scale {
363
barf "Error in Latitude $max $min\n";
364
365
366
- elsif ($i==2) {
367
- $max = 1012.5 if $max<1012.5;
368
- $min = 100 if $min>100;
369
- }
370
if (!defined $this->{Scale}[$i]) {
371
$this->{Scale}[$i] = [$min,$max];
372
} else {
0 commit comments