Skip to content

ak.hist_all docs example produces an error #3941

Closed

Description

@ShreyasKhandekar

Describe the bug
The example for hist_all at https://bears-r-us.github.io/arkouda/autoapi/arkouda/plotting/index.html#arkouda.plotting.hist_all does not work and causes a bug as follows:

To Reproduce

>>> ak_df = ak.DataFrame({"a": ak.array(np.random.randn(100)),
...                           "b": ak.array(np.random.randn(100)),
...                           "c": ak.array(np.random.randn(100)),
...                           "d": ak.array(np.random.randn(100))
...                           })
>>> hist_all(ak_df)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/lus/scratch/khandeka/arkouda/arkouda/plotting.py", line 108, in hist_all
    ax = axes[cols.index(col)]
              ^^^^^^^^^^^^^^^
TypeError: 'list' object is not callable

Expected behavior
To prodouce the histogramming grid plot

Is this a Blocking Issue
Not blocking, but seems quite critical

  • Are there any known work-arounds? No

ak.get_config() Output

{'arkoudaVersion': '0+untagged.3981.g9eba2ce.dirty', 'chplVersion': '2.3.0', 'ZMQVersion': '4.3.5', 'HDF5Version': '1.14.3', 'serverHostname': 'x1002c5s3b0n1', 'ServerPort': 5555, 'numLocales': 4, 'numPUs': 128, 'maxTaskPar': 128, 'physicalMemory': 269822640128, 'distributionType': 'BlockDom(1,int(64),one,unmanaged DefaultDist)', 'LocaleConfigs': [{'id': 0, 'name': 'x1002c5s3b0n1', 'numPUs': 128, 'maxTaskPar': 128, 'physicalMemory': 269822640128}, {'id': 1, 'name': 'x1002c5s3b1n0', 'numPUs': 128, 'maxTaskPar': 128, 'physicalMemory': 269822636032}, {'id': 2, 'name': 'x1002c5s3b1n1', 'numPUs': 128, 'maxTaskPar': 128, 'physicalMemory': 269822627840}, {'id': 3, 'name': 'x1002c5s4b0n0', 'numPUs': 128, 'maxTaskPar': 128, 'physicalMemory': 269822644224}], 'authenticate': False, 'logLevel': 'INFO', 'logChannel': 'CONSOLE', 'regexMaxCaptures': 20, 'byteorder': 'little', 'autoShutdown': False, 'serverInfoNoSplash': False, 'maxArrayDims': 3, 'ARROW_VERSION': '18.0.0'}

Activity

  1. added
    bug
    Doc bug
    on Dec 12, 2024
  2. self-assigned this
    on Sep 5, 2025
  3. added 4 commits that reference this issue on Sep 5, 2025
    192502c
    ef947d0
    e5e6062
    cf332cd
  4. added a commit that references this issue on Sep 9, 2025
    9865f63
  5. added 3 commits that reference this issue on Sep 9, 2025
    7efd4d8
    055de1e
    f969dcb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Doc bugbug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions