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

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

[Octave-bug-tracker] [bug #65641] 'view' produces incorrect viewpoint wh


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65641] 'view' produces incorrect viewpoint when given a vector aligned with the X axis
Date: Thu, 25 Apr 2024 12:31:49 -0400 (EDT)

Follow-up Comment #19, bug #65641 (group octave):


test jupyter-notebook.tst
PASSES 4 out of 4 tests

>> figure
>> test jupyter-notebook.tst
***** testif HAVE_RAPIDJSON
 visibility = get (0, "defaultfigurevisible");
 toolkit = graphics_toolkit ();
 unwind_protect
   if (! strcmp (graphics_toolkit (), "qt"))
     try
       graphics_toolkit ("gnuplot");
     catch
       ## The system doesn't support gnuplot for drawing hidden
       ## figures.  Just return and have test marked as passing.
       return;
     end_try_catch
   endif
   set (0, "defaultfigurevisible", "off");

   n = jupyter_notebook (fullfile ("octave_kernel.ipynb"));
   n.run_all ();

   ## Test embedding images
   assert (n.notebook.cells{3}.outputs{1}.output_type, "display_data")
   assert (isfield (n.notebook.cells{3}.outputs{1}.data, "image/png"));
   assert (getfield (n.notebook.cells{3}.outputs{1}.data, "text/plain"),
           {"<IPython.core.display.Image object>"});

   ## Test running non-code cells
   markdown_cell = n.notebook.cells{1};
   n.run (1);
   assert (markdown_cell, n.notebook.cells{1});

   ## Test embedding textual output
   assert (n.notebook.cells{6}.outputs{1}.output_type, "stream")
   assert (n.notebook.cells{6}.outputs{1}.name, "stdout");
 unwind_protect_cleanup
   set (0, "defaultfigurevisible", visibility);
   graphics_toolkit (toolkit);
 end_unwind_protect
!!!!! test failed
get: invalid handle (= 2)


i seem to remember something similar coming up before. will see if there's
another report or will create a new one for this item.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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