octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64510] support saving plots to files without


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #64510] support saving plots to files without a file extension
Date: Wed, 30 Aug 2023 13:17:13 -0400 (EDT)

Follow-up Comment #9, bug #64510 (project octave):

The new test was failing on the MINGW CI because that is running with
`--no-gui-libs`. Attempting to print an invisible figure seems to fail with
the fltk graphics toolkit:

>>>>> processing D:\a\octave\octave\scripts\plot\util\print.m
***** test
 hf = figure ("visible", "off");
 unwind_protect
   x = 0:0.1:1;
   hax = axes (hf);
   plot (hax, x, x);
   tmp_name = tempname ();
   print (hf, tmp_name, "-dpng");
   assert (isfile ([tmp_name ".png"]));
   unlink ([tmp_name ".png"]);
   print (hf, tmp_name, "-dpng", "-no-append-file-extension");
   assert (isfile (tmp_name));
   unlink (tmp_name);
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
print: rendering with fltk toolkit requires visible figure (DISPLAY='')


Should be fixed here:
https://hg.savannah.gnu.org/hgweb/octave/rev/774c54278e97



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64510>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]