# HG changeset patch # User Rik # Date 1442180878 25200 # Node ID ba4088aee342040e7a9148265ffff23cba4259a6 # Parent a142b62527efe80aa9d770f1bf13f32e75442b23 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. diff -r a142b62527ef -r ba4088aee342 scripts/plot/util/findobj.m --- 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