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

Skip to content

Commit a0ec688

Browse files
committed
DOC: Add thumbnails for user_interfaces gallery sgskip examples
DOC: Fix thumbnail comment syntax and resize images to 320x224 DOC: Fix image aspect ratio with transparent padding DOC: Retake screenshots in landscape and fix aspect ratio DOC: Move thumbnails to _static and fix thumbnail paths DOC: Add SVG thumbnails to _static DOC: Remove unnecessary blank lines
1 parent 69cc7f8 commit a0ec688

16 files changed

Lines changed: 1383 additions & 0 deletions

doc/_static/canvasagg.png

3.82 KB
Loading

doc/_static/embedding_in_qt.png

4.77 KB
Loading

doc/_static/embedding_in_tk.png

5.42 KB
Loading

doc/_static/embedding_webagg.png

6.42 KB
Loading

doc/_static/svg_histogram.svg

Lines changed: 301 additions & 0 deletions
Loading

doc/_static/svg_tooltip.svg

Lines changed: 385 additions & 0 deletions
Loading

doc/_static/toolmanager.png

18.5 KB
Loading

galleries/examples/user_interfaces/canvasagg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
CanvasAgg demo
44
==============
55
6+
67
This example shows how to use the agg backend directly to create images, which
78
may be of use to web application developers who want full control over their
89
code without using the pyplot interface to manage figures, figure closing etc.
@@ -23,6 +24,7 @@
2324
.. redirect-from:: /gallery/misc/agg_buffer
2425
.. redirect-from:: /gallery/misc/agg_buffer_to_array
2526
"""
27+
# sphinx_gallery_thumbnail_path = '_static/canvasagg.png'
2628

2729
from PIL import Image
2830

galleries/examples/user_interfaces/embedding_in_qt_sgskip.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
equally well using any Qt binding (PyQt6, PySide6, PyQt5, PySide2). The
88
binding can be selected by setting the :envvar:`QT_API` environment variable to
99
the binding name, or by first importing it.
10+
11+
1012
"""
13+
# sphinx_gallery_thumbnail_path = '_static/embedding_in_qt.png'
1114

1215
import sys
1316
import time

galleries/examples/user_interfaces/embedding_in_tk_sgskip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
===========
55
66
"""
7+
# sphinx_gallery_thumbnail_path = '_static/embedding_in_tk.png'
78

89
import tkinter
910

0 commit comments

Comments
 (0)