Skip to content

Commit

Permalink
Merge pull request #93 from PDLPorters/fix-format-delete
Browse files Browse the repository at this point in the history
Fix for processing format option
  • Loading branch information
mohawk2 committed Jan 29, 2023
2 parents b9310af + fff8377 commit 2f2bc54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDL/Graphics/Gnuplot.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6356,7 +6356,7 @@ our $_OptionEmitters = {
delete $h{locations};
delete $h{labels};

push(@l,'format',"\"".quote_escape($h{format})."\"") if(defined(delete $h{format}));
push(@l,'format',"\"".quote_escape($h{format})."\"") if(defined($h{format})); delete $h{format};

if( defined( my $v = delete $h{font} ) ) {
push @l, "font", '"'.join(',', ref($v) eq 'ARRAY' ? @$v : $v).'"';
Expand Down

0 comments on commit 2f2bc54

Please sign in to comment.