File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ sub new {
124
124
# Force a recheck on failure, in case the user fixed gnuplot.
125
125
# Also loads PDL::Graphics::Gnuplot.
126
126
unless (check()) {
127
- die " $mod ->{shortname} appears nonfunctional\n " unless (check(1));
127
+ die " $mod ->{shortname} appears nonfunctional: $mod ->{msg} \n " unless (check(1));
128
128
}
129
129
130
130
# Generate the @params array to feed to gnuplot
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ sub new {
104
104
# Force a recheck on failure, in case the user fixed PGPLOT.
105
105
# Also loads PDL::Graphics::PGPLOT::Window.
106
106
unless (check()) {
107
- die " $mod ->{shortname} appears nonfunctional\n " unless (check(1));
107
+ die " $mod ->{shortname} appears nonfunctional: $mod ->{msg} \n " unless (check(1));
108
108
}
109
109
110
110
# Figure the device name and size to feed to PGPLOT.
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ sub new {
176
176
177
177
# Force a recheck on failure, in case the user fixed PLplot.
178
178
unless (check()) {
179
- die " $mod ->{shortname} appears nonfunctional\n " unless (check(1));
179
+ die " $mod ->{shortname} appears nonfunctional: $mod ->{msg} \n " unless (check(1));
180
180
}
181
181
182
182
# Figure the device name and size to feed to PLplot.
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ sub new {
126
126
127
127
128
128
unless ( check() ) {
129
- die " $mod ->{shortname} appears nonfunctional\n " unless (check(1));
129
+ die " $mod ->{shortname} appears nonfunctional: $mod ->{msg} \n " unless (check(1));
130
130
}
131
131
132
132
my $size = PDL::Graphics::Simple::_regularize_size($opt -> {size },' px' );
You can’t perform that action at this time.
0 commit comments