Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: Empty code block output #765

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

Closed
larsoner opened this issue Oct 27, 2020 · 0 comments · Fixed by #791
Closed

BUG: Empty code block output #765

larsoner opened this issue Oct 27, 2020 · 0 comments · Fixed by #791
Labels

Comments

@larsoner
Copy link
Contributor

From @lucyleeow in matplotlib/matplotlib#17479 (comment):

Just looking into this, the problem with # sphinx_gallery_thumbnail_path is that it needs to be outside of the docstring, which makes it complicated for examples like annotation.py which is all docstring. Adding a code block under the docstring will work but will result in an empty code block at the end of the example.

@lucyleeow it seems like it would make sense to detect this case and not render it

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

Successfully merging a pull request may close this issue.

2 participants