Skip to content

Commit 3e6f58e

Browse files
doc: add thumbnails for skipped gallery examples
Several gallery examples that use the `_sgskip` suffix (excluded from documentation build execution) were missing thumbnails, causing placeholder grey boxes to appear in the gallery index page. Add sphinx_gallery_thumbnail_path directives to 9 examples, along with 6 new SVG thumbnail images in doc/_static/ that visually represent what each example does: - animation/frame_grabbing_sgskip: film-strip animation thumbnail - event_handling/ginput_manual_clabel_sgskip: contour plot with cursor - event_handling/pong_sgskip: pong game court thumbnail - misc/hyperlinks_sgskip: scatter plot with link indicators - misc/image_thumbnail_sgskip: reuse existing stinkbug.png - misc/multiprocess_sgskip: real-time producer/plotter diagram - misc/print_stdout_sgskip: terminal + line plot thumbnail - mplot3d/wire3d_animation_sgskip: reuse existing demo_mplot3d.png - widgets/lasso_selector_demo_sgskip: scatter with lasso selection Closes matplotlib#17479
1 parent 04243ef commit 3e6f58e

16 files changed

Lines changed: 158 additions & 0 deletions
Lines changed: 34 additions & 0 deletions
Loading
Lines changed: 20 additions & 0 deletions
Loading
Lines changed: 17 additions & 0 deletions
Loading
Lines changed: 21 additions & 0 deletions
Loading
Lines changed: 22 additions & 0 deletions
Loading
Lines changed: 16 additions & 0 deletions
Loading
Lines changed: 19 additions & 0 deletions
Loading

‎galleries/examples/animation/frame_grabbing_sgskip.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
file. This avoids any event loop integration, and thus works even with the Agg
88
backend. This is not recommended for use in an interactive setting.
99
"""
10+
# sphinx_gallery_thumbnail_path = '_static/frame_grabbing_sgskip_thumbnail.svg'
1011

1112
import numpy as np
1213

‎galleries/examples/event_handling/ginput_manual_clabel_sgskip.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You can copy and paste individual parts, or download the entire example
1515
using the link at the bottom of the page.
1616
"""
17+
# sphinx_gallery_thumbnail_path = '_static/ginput_manual_clabel_sgskip_thumbnail.svg'
1718

1819
import time
1920

‎galleries/examples/event_handling/pong_sgskip.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You can copy and paste individual parts, or download the entire example
1515
using the link at the bottom of the page.
1616
"""
17+
# sphinx_gallery_thumbnail_path = '_static/pong_sgskip_thumbnail.svg'
1718

1819
import time
1920

0 commit comments

Comments
 (0)