diff scripts/plot/cla.m @ 8285:26f0e69e9f3a

cla.m: in test, set visible off when creating figure
author John W. Eaton <jwe@octave.org>
date Wed, 29 Oct 2008 14:09:00 -0400
parents bca580bbda02
children 85c9906abfd1
line wrap: on
line diff
--- a/scripts/plot/cla.m
+++ b/scripts/plot/cla.m
@@ -90,9 +90,8 @@
 endfunction
 
 %!test
-%! hf = figure;
+%! hf = figure (1, "visible", "off");
 %! unwind_protect
-%!   set (hf, "visible", "off")
 %!   clf
 %!   plot (1:10)
 %!   cla ()