changeset 20524:ba4088aee342

findobj.m: Stop requiring gnuplot in BIST tests (bug #36983). * findobj.m: Remove explicit code to set toolkit to gnuplot and restore existing toolkit at end of BIST test.
author Rik <rik@octave.org>
date Sun, 13 Sep 2015 14:47:58 -0700
parents a142b62527ef
children ff904ae0285b
files scripts/plot/util/findobj.m
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/findobj.m	Fri Aug 21 13:05:52 2015 -0400
+++ b/scripts/plot/util/findobj.m	Sun Sep 13 14:47:58 2015 -0700
@@ -341,7 +341,6 @@
 %! end_unwind_protect
 
 %!test
-%! toolkit = graphics_toolkit ("gnuplot");
 %! hf = figure ("visible", "off");
 %! unwind_protect
 %!   h1 = subplot (2,2,1);
@@ -352,11 +351,9 @@
 %!   assert (h, h3);
 %! unwind_protect_cleanup
 %!   close (hf);
-%!   graphics_toolkit (toolkit);
 %! end_unwind_protect
 
 %!test
-%! toolkit = graphics_toolkit ("gnuplot");
 %! hf = figure ("visible", "off");
 %! unwind_protect
 %!   h1 = subplot (2,2,1, "tag", "1");
@@ -367,7 +364,6 @@
 %!   assert (h, [h4; h3; h2])
 %! unwind_protect_cleanup
 %!   close (hf);
-%!   graphics_toolkit (toolkit);
 %! end_unwind_protect
 
 %!test