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

Incorrect link for label in regionprops gallery example #5414

Closed
jni opened this issue Jun 1, 2021 · 0 comments · Fixed by #5433
Closed

Incorrect link for label in regionprops gallery example #5414

jni opened this issue Jun 1, 2021 · 0 comments · Fixed by #5433
Labels
📄 type: Documentation Updates, fixes and additions to documentation

Comments

@jni
Copy link
Member

jni commented Jun 1, 2021

Description

In the regionprops gallery example:

https://scikit-image.org/docs/0.18.x/auto_examples/segmentation/plot_regionprops.html

The "label" function links to Python's int documentation. I think that's because later in the example label (the function measure.label) gets redefined as label = props[i].label, which is indeed an int.

Probably this needs a fix in sphinx-gallery but in the meantime perhaps renaming some variables would help.

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

Successfully merging a pull request may close this issue.

1 participant