bugGNU Octave - Bugs: bug #53090, [octave forge] (image) imhist...

 
 

bug #53090: [octave forge] (image) imhist fails due to changes in colorbar in Octave 4.4

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Wed 07 Feb 2018 04:51:42 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  carandraug
Originator Name:  Avinoam Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 May 2018 07:21:11 PM UTC, comment #2: 

I have pushed http://hg.code.sf.net/p/octave/image/rev/d941485a7f14

This will be part of the image package v2.8

Carnë Draug <carandraug>
Group Member
Wed 02 May 2018 06:42:38 PM UTC, comment #1: 

Hi,

remainder.....this bug is still there in the latest released Octave Version 4.4.

The fix in line 165 solved this.

Line 165 in imhist:
colorbar ("SouthOutside", "xticklabel", []);
should be change to
colorbar ("xticklabel", [], "SouthOutside");

Stephan Gebauer <stephan_ii>
Wed 07 Feb 2018 04:51:42 PM UTC, original submission:  


>> imhist(int8([-50 0 100]), 31);
error: colorbar: LOC specification must occur as final argument
error: called from
    colorbar at line 116 column 11
    imhist at line 165 column 5


The error is caused because of changes in colormap http://hg.savannah.gnu.org/hgweb/octave/rev/51ead71394bc
Now colormap accepts location only as final argument.
Line 165 in imhist:
colorbar ("SouthOutside", "xticklabel", []);
should be change to
colorbar ("xticklabel", [], "SouthOutside");
 

Avinoam Kalma <avinoam>
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 mtmiller (Updated the item)
  • -email is unavailable- added by stephan_ii (Posted a comment)
  • -email is unavailable- added by avinoam (Submitted the item)
  • -email is unavailable- added by avinoam
  • -email is unavailable- added by avinoam
  •  

    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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-02 carandraug StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2018-05-02 mtmiller StatusNone Confirmed
        Summary[octave-forge] (image) imhist fails in dev version due to changes in colorbar [octave forge] (image) imhist fails due to changes in colorbar in Octave 4.4
    2018-02-07 avinoam Carbon-Copy- Added hardy
        Carbon-Copy- Added carandraug

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code