-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix and improve entropy example #4904
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
Conversation
Hello @sciunto! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2020-08-09 10:41:54 UTC |
doc/examples/filters/plot_entropy.py
Outdated
To detect the central square, we compute the local entropy measure using a | ||
circular structuring element of a radius big enough to capture the local gray | ||
level distribution. The second example shows how to detect texture in the camera | ||
image using a smaller structuring element. | ||
|
||
""" | ||
|
||
################## |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the length of the line of #'
needs to be longer for sphinx-gallery to detect that it's a new block of text. See the artifact https://162-2014929-gh.circle-artifacts.com/0/doc/build/html/auto_examples/filters/plot_entropy.html#sphx-glr-auto-examples-filters-plot-entropy-py where the two figures are together at the top.
doc/examples/filters/plot_entropy.py
Outdated
|
||
fig.tight_layout() | ||
|
||
# Second example: texture detection. | ||
################### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @sciunto!
Description
See #4895
Checklist
./doc/examples
(new features only)./benchmarks
, if your changes aren't covered by anexisting benchmark
For reviewers
later.
__init__.py
.doc/release/release_dev.rst
.