Skip to content
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

Collections attribute is used in gallery but was deprecated in Matplotlib 3.8. #7361

Open
mkcor opened this issue Mar 27, 2024 · 1 comment
Labels
🐛 Bug 📄 type: Documentation Updates, fixes and additions to documentation 🔧 type: Maintenance Refactoring and maintenance of internals

Comments

@mkcor
Copy link
Member

mkcor commented Mar 27, 2024

Description:

We can see this output in the Segment human cells gallery example:

/home/runner/work/scikit-image/scikit-image/doc/examples/applications/plot_human_mitosis.py:59: MatplotlibDeprecationWarning:

The collections attribute was deprecated in Matplotlib 3.8 and will be removed two minor releases later.


[14000, 4731, 1057, 353, 59, 15]

Way to reproduce:

Visit https://scikit-image.org/docs/0.22.x/auto_examples/applications/plot_human_mitosis.html

Version information:

v0.22.x

@mkcor mkcor added 📄 type: Documentation Updates, fixes and additions to documentation 🔧 type: Maintenance Refactoring and maintenance of internals 🐛 Bug labels Mar 27, 2024
@mkcor
Copy link
Member Author

mkcor commented Mar 27, 2024

Oops! Current main (9e8bf68 ?) doesn't show this deprecation warning, but the values are entirely different:
len_seg

Different again from v0.21.x and prior:

[0, 320, 270, 48, 19, 3, 1, 0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug 📄 type: Documentation Updates, fixes and additions to documentation 🔧 type: Maintenance Refactoring and maintenance of internals
Projects
None yet
Development

No branches or pull requests

1 participant