-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Complete deprecations targeting release 0.20 or 1.0 #6583
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
7430c41
Complete deprecation of selem parameter
lagru d951774
Complete deprecation of selem module
lagru 64e0023
Complete deprecation of in_place parameter
lagru 198566f
Complete deprecation of max_iterations parameter
lagru 6db637d
Complete deprecation of max_iter parameter
lagru 50cdfb0
Complete deprecation of iterations parameter
lagru 4cb8866
Complete deprecation of n_iter_max parameter
lagru 56f0431
Complete deprecation of compute_hessian_eigenvalues
lagru f77d0da
Complete deprecation of input parameter
lagru 171d34a
Complete deprecation of greyco* functions
lagru 9b2c8f0
Complete deprecation of multichannel kwarg
lagru c7337b6
Remove unused deprecate_multichannel_kwarg
lagru c25941e
Complete deprecation of height, width in rectangle
lagru 1beab4a
Remove completed items in TODO.txt
lagru 6a24f27
Complete deprecation of neighbourhood parameter
lagru b53b46a
Remove deprecated grey and greyreconstruct modules
lagru 38c23c4
Remove warning about deprecated *_iter
lagru 998ee00
Revert "Complete deprecation of compute_hessian_eigenvalues"
lagru a5421d5
Deprecate automatic channel detection in gaussian
lagru d752adf
Complete deprecation of coordinates parameter
lagru 206e599
Remove outdated TODO for CircleModel.estimate
lagru bc476b7
Merge branch 'main' into complete-0.20-deprecations
lagru 9b70ed6
Remove removed files from meson.build
lagru e7d8c75
Remove obsolete tests for coordinates parameter
lagru 15638d4
Catch expected warning for deprecated color channel inference in gaus…
grlee77 cc32ae2
fix typo in prior commit
grlee77 dc843fe
Merge remote-tracking branch 'upstream/main' into complete-0.20-depre…
grlee77 246bc46
Update skimage/_shared/filters.py
lagru 529c74a
Explain proxy value in more clearly
lagru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is the metaclass necessary?
Uh oh!
There was an error while loading. Please reload this page.
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.
I'm sure there are other ways to control how this signal object is rendered in the signature (I would post the link but strangely the pipeline did not build the docs?). I initially included the
__repr__in this class itself which requires creating an instance of it in the same scope to check for identity in the function body. Compared to that, I actually found the metaclass-based approach clearer and easier to document. The class itself clearly is the signal and there is no confusion about a second symbol that also looks like a signal; it's clearly a metaclass only responsible for modifying the representation.It's not something I feel strongly about, though. The verbose answer is mainly because I'm rationalizing my gut feeling about which approach "felt better" in retrospective. 😄