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

Issues on some lines with axes and tuples: #10

Open
123raymondmok opened this issue Jan 2, 2025 · 1 comment
Open

Issues on some lines with axes and tuples: #10

123raymondmok opened this issue Jan 2, 2025 · 1 comment
Labels
awaiting response Awaiting response

Comments

@123raymondmok
Copy link

line 26, in
dx = np.gradient(images, axis=1).mean(axis=3)

axis = tuple([normalize_axis_index(ax, ndim, argname) for ax in axis])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
numpy.exceptions.AxisError: axis 1 is out of bounds for array of dimension 1

@m3at
Copy link
Owner

m3at commented Jan 3, 2025

Thanks for reporting the issue. Can you share an example of how to reproduce it?

@m3at m3at added the awaiting response Awaiting response label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response Awaiting response
Projects
None yet
Development

No branches or pull requests

2 participants