[Top][All Lists]

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

[Octave-bug-tracker] [bug #52641] Changing legend "displayname" property

From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52641] Changing legend "displayname" property to empty string "" leads to printing an error
Date: Mon, 11 Dec 2017 21:24:38 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #2, bug #52641 (project octave):

Rik, you are saying that 


is inefficient because it recursively calls the routine it exists in?

I'm attaching a simple mod for you to consider that gets rid of the true/false
input to updateline and replaces it with a new updatename listener.  That
seems more efficient, as keeping callback simple is typically good practice.

Also, this modification (after the patch you created and after the attached
patch is applied) works for me in gnuplot, but it doesn't work in the FLTK/Qt
toolkits.  I've verified that the callback is occurring, so I don't know what
the issue is.  For Qt/FLTK the legend text remains at "Legend String".

(file #42614)

Additional Item Attachment:

File name: octave-updateline_listener_simplify-djs2017dec11.patch Size:6 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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