-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 issue6190 - inconsistent default parameters in pyramids.py #6191
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hndgzkn, this looks great!
Once this is merged we will backport it to the v0.19.x branch so it will be fixed for the upcoming 0.19.2 release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful! Thank you so much, @hndgzkn.
@meeseeksdev backport to v0.19.x |
…arameters in pyramids.py
Would it be appropriate to add the backport command back to the PR template? I always forget it.. copy pasting is so much easier. |
Sure, that sounds good to me |
…1-on-v0.19.x Backport PR #6191 on branch v0.19.x (Fix issue6190 - inconsistent default parameters in pyramids.py)
* fix pyramid_reduce defaults * fix pyramid_gaussian defaults * fix pyramid_laplacian defaults * remove unused import
Description
Fixes #6190
For backward compatibility keeps
multichannel=False
and setschannel_axis=None
forpyramid_reduce
,pyramid_gaussian
andpyramid_laplacian
.Adds tests for each function to test the default values.
Removes unused import
from scipy import ndimage as ndi
.For reviewers
later.
__init__.py
.doc/release/release_dev.rst
.