Skip to content

Commit be18d6d

Browse files
authored
Merge pull request #1347 from somiaj/allow-zero-Fy
Allow plotting Fy = 0 in plots.
2 parents 22d57e7 + f590715 commit be18d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Plots/Data.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ sub set_function {
225225
$f->{"x$key"} = $options{$key};
226226
delete $options{$key};
227227
}
228-
return unless $f->{Fy};
228+
return unless $f->{Fy} ne '';
229229

230230
$f->{Fx} = $self->get_math_object($f->{Fx}, $f->{xvar}, $f->{yvar});
231231
$f->{Fy} = $self->get_math_object($f->{Fy}, $f->{xvar}, $f->{yvar});

0 commit comments

Comments
 (0)