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

scikit-image warning: rectangle is deprecated #218

Open
kandersolar opened this issue Dec 13, 2024 · 0 comments
Open

scikit-image warning: rectangle is deprecated #218

kandersolar opened this issue Dec 13, 2024 · 0 comments

Comments

@kandersolar
Copy link
Member

Recent ci runs show this deprecation warning from scikit-image:

pvanalytics/tests/features/test_shading.py::test_fixed_no_shadows
pvanalytics/tests/features/test_shading.py::test_fixed_same_index
pvanalytics/tests/features/test_shading.py::test_simple_shadow
  D:\a\pvanalytics\pvanalytics\pvanalytics\features\shading.py:368: FutureWarning: `rectangle` is deprecated since version 0.25 and will be removed in version 0.27. Use `skimage.morphology.footprint_rectangle` instead.
    three_minute_mask = morphology.rectangle(1, 3)

Example: https://github.com/pvlib/pvanalytics/actions/runs/12323372696/job/34398845205?pr=215#step:5:45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant