Add gallery thumbnails for examples missing them#31986
Conversation
Add sphinx_gallery_thumbnail_path for multiple gallery examples that were missing thumbnails because they use sgskip or don't produce standard matplotlib figures. Closes matplotlib#17479
|
Thank you for opening your first PR into Matplotlib! If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks. We also ask that you please finish addressing any review comments on this PR and wait for it to be merged (or closed) before opening a new one, as it can be a valuable learning experience to go through the review process. You can also join us on discourse chat for real-time discussion. For details on testing, writing docs, and our review process, please see the developer guide. We strive to be a welcoming and open project. Please follow our Code of Conduct. |
timhoffm
left a comment
There was a problem hiding this comment.
Please use our PR template, in particular state the use of AI if applicable.
| # sphinx_gallery_thumbnail_path = "_static/frame_grabbing.png" | ||
| """ |
There was a problem hiding this comment.
| # sphinx_gallery_thumbnail_path = "_static/frame_grabbing.png" | |
| """ | |
| """ | |
| # sphinx_gallery_thumbnail_path = "_static/frame_grabbing.png" |
The comment must be in the code not in the docstring.
|
Could you take a pass through the examples and see if others are missing? For example, https://matplotlib.org/stable/gallery/mplot3d/rotate_axes3d_sgskip.html also does not have a thumbnail |

Summary
Adds
sphinx_gallery_thumbnail_pathfor multiple gallery examples that were missing thumbnails because they:_sgskip(not executed during doc build, so no auto-generated thumbnail)FuncAnimation) which doesn't produce a static frameChanges
9 Python files modified (added
sphinx_gallery_thumbnail_pathcomment in docstring):galleries/examples/animation/frame_grabbing_sgskip.py_static/frame_grabbing.pnggalleries/examples/event_handling/ginput_manual_clabel_sgskip.py_static/ginput_manual_clabel.pnggalleries/examples/event_handling/pong_sgskip.py_static/pong.pnggalleries/examples/misc/font_indexing.py_static/font_indexing.pnggalleries/examples/misc/hyperlinks_sgskip.py_static/hyperlinks.pnggalleries/examples/misc/multiprocess_sgskip.py_static/multiprocess.pnggalleries/examples/misc/print_stdout_sgskip.py_static/print_stdout.pnggalleries/examples/mplot3d/wire3d_animation.py_static/wire3d_animation.pnggalleries/examples/widgets/lasso_selector_demo_sgskip.py_static/lasso_selector_demo.png9 new thumbnail images added to
doc/_static/.Closes #17479