Skip to content

multichannel to channel_axis (1 of 6): features and draw - #5284

Merged
grlee77 merged 11 commits into
scikit-image:mainfrom
grlee77:channel_axis_features_and_draw
Apr 9, 2021
Merged

grlee77 merged 11 commits into
scikit-image:mainfrom
grlee77:channel_axis_features_and_draw

Conversation

@grlee77

@grlee77 grlee77 commented Mar 23, 2021

Copy link
Copy Markdown
Contributor

Description

This is the first of a series of 6 PRs completing the multichannel to channel_axis migration. I am breaking these up into separate modules to keep the size more manageable to review, but the PRs should be reviewed in order since each is based on the previous one.

The decorators used here were introduced in #5228, but an additional check for positional use of the multichannel argument has been added to deprecate_multichannel_kwarg.

Checklist

For reviewers

  • Check that the PR title is short, concise, and will make sense 1 year
    later.
  • Check that new functions are imported in corresponding __init__.py.
  • Check that new features, API changes, and deprecations are mentioned in
    doc/release/release_dev.rst.

@jni jni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you @grlee77!

Comment thread skimage/_shared/utils.py Resolved
@jni

jni commented Mar 30, 2021

Copy link
Copy Markdown
Member

@scikit-image/core anyone else have a chance to review this? This is one of the most important changes in moving to skimage 1.0.

@stefanv stefanv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I highlighted some quote inconsistencies, but otherwise LGTM!

Thanks, Greg.

Comment thread skimage/feature/_basic_features.py Resolved
Comment thread skimage/feature/_basic_features.py Resolved
Comment thread skimage/feature/_hog.py Resolved
Comment thread skimage/feature/tests/test_hog.py Resolved
Comment thread skimage/feature/tests/test_hog.py Resolved
Co-authored-by: Stefan van der Walt <[email protected]>
@grlee77

grlee77 commented Apr 1, 2021 •

Copy link
Copy Markdown
Contributor Author

Thanks, @stefanv. I think I copy-pasted the same warning messages in the other PRs, so will update those with the same backtick fixes too.

@grlee77
grlee77 merged commit a07f6d4 into scikit-image:main Apr 9, 2021
@grlee77 grlee77 added this to the 0.19 milestone Apr 21, 2021
@grlee77
grlee77 deleted the channel_axis_features_and_draw branch July 8, 2021 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📜 type: API Involves API change(s)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants