Skip to content

Commit

Permalink
other drivers to only load engine on check()
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Apr 12, 2024
1 parent 2797910 commit aef52f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions lib/PDL/Graphics/Simple/Gnuplot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ our $mod = {
synopsis=> 'Gnuplot 2D/3D (versatile; beautiful output)',
pgs_api_version=> '1.011',
};
eval { require PDL::Graphics::Gnuplot; 1; } and
PDL::Graphics::Simple::register( $mod );
PDL::Graphics::Simple::register( $mod );

our $filetypes = {
ps => ['pscairo','postscript'],
Expand Down
3 changes: 1 addition & 2 deletions lib/PDL/Graphics/Simple/PGPLOT.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ our $mod = {
synopsis=> 'PGPLOT (venerable but trusted)',
pgs_api_version=> '1.011',
};
eval { require PDL::Graphics::PGPLOT::Window; 1; } and
PDL::Graphics::Simple::register( $mod );
PDL::Graphics::Simple::register( $mod );
print $@;

##########
Expand Down
3 changes: 1 addition & 2 deletions lib/PDL/Graphics/Simple/PLplot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ our $mod = {
synopsis=> 'PLplot (nice plotting, sloooow images)',
pgs_api_version=> '1.011',
};
eval { require PDL::Graphics::PLplot; 1; } and
PDL::Graphics::Simple::register( $mod );
PDL::Graphics::Simple::register( $mod );

my @DEVICES = qw(
qtwidget wxwidgets xcairo xwin wingcc
Expand Down

0 comments on commit aef52f2

Please sign in to comment.