[bug #68089] (image) imhist.m is broken since Octave 11.1.0 (due to colorbar.m)

Hartmut <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

URL:
  <https://savannah.gnu.org/bugs/?68089>

                 Summary: (image) imhist.m is broken since Octave 11.1.0 (due
to colorbar.m)
                   Group: GNU Octave
               Submitter: hardy
               Submitted: Mi 25 Feb 2026 12:49:17 UTC
                Category: Octave Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 11.1.0
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mi 25 Feb 2026 12:49:17 UTC    By: Hartmut <hardy>
In the new Octave version 11.1.0 the imhist.m command of the image package
does not work any more. You can check with this easy code:


pkg load image
clear, close all
I = checkerboard;
imhist(I);


The resulting error message is:


error: colorbar: LOC specification must occur as first argument
error: called from
    colorbar at line 122 column 11
    imhist at line 165 column 5
    problemcode at line 4 column 1


I assume this is due to a change of the colorbar command in core Octave since
Octave version 11.1.0. The problem of the image package's imhist command seems
to be in line 165 of imhist.m:


    colorbar ("xticklabel", [], "SouthOutside");


This call to core Octave's colorbar.m does not seem to be "legal" any more
since Octave 11.1.0. (This used to work fine with many, many older Octave core
versions.)

I assume this should be fixed in the image package. Or is this a bug in core
Octave's colorbar function?









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68089>

_______________________________________________
Nachricht gesendet über Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaZ7v0gAKCRCqLAuaBUf3
TttTAP9ZeTJuIrxkfMJXR0KmP5FLwO2EbJ4eE6OZOYlRVPt09AEAiadExBjQ5y1U
YgFaXf9mzuMyIi7EwTA5Ji3buFGEYwc=
=qcJV
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.