Skip to content

Skimage to change 'min_size' parameter in morphology.remove_small_objects #1902

@k034b363

Description

@k034b363

Is your feature request related to a problem? Please describe.
I've had a new FutureWarning message when using pcv.fill that suggests the skimage function morphology.remove_small_objects will change its 'min_size' parameter to 'max_size' instead. It suggests it has been deprecated since 0.26.0, but will be removed in 2.0.0 (or later). Might be good to fix this before it actually breaks things.

Describe the solution you'd like
Change the 'min_size' kwarg to 'max_size' in pcv.fill.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new featureNew feature ideas and solutions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions