bugGNU Octave - Bugs: bug #63262, legend fails for contour plots...

 
 

bug #63262: legend fails for contour plots with clabels

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  Sun 23 Oct 2022 08:57:50 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 7.2.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 25 Oct 2022 06:18:16 AM UTC, comment #4: 

Would it be worth adding a test for this to catch a potential regression in the future?

Markus Mützel <mmuetzel>
Group administrator
Mon 24 Oct 2022 08:25:01 PM UTC, comment #3: 

Thanks. That is indeed a safe change for stable.

Closing report since I assume you verified that the bug was fixed :-).

Pantxo Diribarne <pantxo>
Group Member
Mon 24 Oct 2022 07:36:35 AM UTC, comment #2: 

Thanks for the fix. Looks good to me.
I grafted it to the stable branch here:
https://hg.savannah.gnu.org/hgweb/octave/rev/927c8d7bd8f3

Markus Mützel <mmuetzel>
Group administrator
Sun 23 Oct 2022 09:13:02 PM UTC, comment #1: 

I pushed to default the following change that fixes the issue for me:

https://hg.savannah.gnu.org/hgweb/octave/rev/472df5147221

Marking ready for test.

Pantxo Diribarne <pantxo>
Group Member
Sun 23 Oct 2022 08:57:50 PM UTC, original submission:  

The simple following code


[c, h] = contour (rand (5));
clabel (c, h);
legend ();


fails with the following error


error: get: unknown text property facecolor
error: called from
    legend>create_item at line 1160 column 12
    legend>texticon_objects at line 1018 column 21
    legend>update_layout_cb at line 925 column 15
    legend at line 303 column 5


Pantxo Diribarne <pantxo>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by pantxo (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-10-24 pantxo StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2022-10-23 pantxo StatusConfirmed Ready For Test

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code