[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 01:42:54 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
Follow-up Comment #6, bug #50496 (project octave):
What you said is correct. In the current gnuplot toolkit, the 'interpreter'
property is coming from the primitive. But the documentation makes no mention
of the 'interpreter', just 'displayname'. That's why I suggested the only way
for the documentation to be clear is if primitive graphics objects don't have
an 'interpreter' property such that the only alternative is to get that value
from the legend.
The attached patch changes the current behavior so that the interpreter
setting comes from legend, not the object itself. But don't use that patch,
as it is clumsy and in fact won't work if obj.interpreter is removed. I'll
change things so that calling __maybe_munge_text__() is a little more
graceful.
Feel free to make the change removing 'interpreter' from the primitives. Or
post the "hg diff" for your change here for safe keeping.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50496>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/08
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/08
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/09
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/09
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/09
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/09
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree,
Dan Sebald <=
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, John W. Eaton, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, John W. Eaton, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Dan Sebald, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, John W. Eaton, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/10
- [Octave-bug-tracker] [bug #50496] Legend and object 'interpreter' property disagree, Rik, 2017/03/10