Skip to content

Reconsider signature of binary_blobs #7945

Closed

Description

@lagru

This was brought up in #7909 (comment):

Unrelated, but such a missed opportunity to use shape as a parameter here. That would allow creating array with different lengths in each dimension.

Instead of the current signature which is

skimage.data.binary_blobs(length=512, blob_size_fraction=0.1, n_dim=2, volume_fraction=0.5, rng=None)

and forces each dimension to have the same size.

Activity

  1. self-assigned this
    on Nov 17, 2025
  2. added
    📜 type: API
    🥾 Path to skimage2
    and removed on Nov 17, 2025
  3. added a commit that references this issue on Jan 30, 2026
    02693c8
  4. added a commit that references this issue on Jun 9, 2026
    41a46a1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🥾 Path to skimage2📜 type: API

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions