Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ak.hist_all docs example produces an error #3941

Open
ShreyasKhandekar opened this issue Dec 12, 2024 · 0 comments
Open

ak.hist_all docs example produces an error #3941

ShreyasKhandekar opened this issue Dec 12, 2024 · 0 comments
Labels
bug Something isn't working Doc bug documentation has a bug in it

Comments

@ShreyasKhandekar
Copy link
Contributor

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'}
@ShreyasKhandekar ShreyasKhandekar added bug Something isn't working Doc bug documentation has a bug in it labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Doc bug documentation has a bug in it
Projects
None yet
Development

No branches or pull requests

1 participant