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

FIX: new_image_like arg typo #650

Merged
merged 1 commit into from
May 22, 2024
Merged

FIX: new_image_like arg typo #650

merged 1 commit into from
May 22, 2024

Conversation

ncullen93
Copy link
Member

The new_image_like function had a typo where the argument was name "self" because it was originally attached to the ants image class. Now it is an @image_method function. This PR fixes that and also adds a semi-alias function from_numpy_like that fit in better with the api given the from_numpy function... except the args are switched.

@coveralls
Copy link

Coverage Status

coverage: 81.315% (+0.007%) from 81.308%
when pulling 20b20b1 on fix-new-image-like
into f0ffa49 on master.

@ncullen93 ncullen93 merged commit 34536fc into master May 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants