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

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

[Octave-bug-tracker] [bug #61627] [octave forge] (statistics): dendrogra


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #61627] [octave forge] (statistics): dendrogram test displays figure window even with visibility off
Date: Tue, 7 Dec 2021 11:18:59 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

Follow-up Comment #5, bug #61627 (project octave):

The problem is the following construct in dendrogram:


set (0, "defaultfigurevisible", "off");
hf = figure (gcf);


Here `gcf` returns a handle to an invisible figure that is passed to the
`figure` function. The latter operation makes the figure visible and gives it
keyboard focus, this is the expected behavior.

Replacing `hd = figure (gcf)` by `hd = gcf ()` should do the trick.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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