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

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

[Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' proper


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree
Date: Fri, 10 Mar 2017 18:59:36 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #12, bug #50496 (project octave):

That changeset may be a simpler way of fixing things given the way the current
code is arranged, i.e., since the graphics primitive would no longer have
'interpreter' after deprecating, just set that property at the start of the
loop.  However, instead of


+      obj.interpreter = get (h_obj, "interpreter");


it should be something like


      if (! isempty (hlgnd))
        obj.interpreter = hlgnd.interpreter;
      else
        obj.interpreter = 'none';
      endif


It's easier doing that check on hlgnd at one point rather than distributed
throughout the file several times.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50496>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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