From e35f0ed18bd28e16d48bb2e87c21e47ad6575b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Thu, 30 Apr 2020 15:10:30 +0200 Subject: [PATCH] Decrease the thumbnail resolution in sphinx-gallery for performences --- doc/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 76c941b7d7bc..39dbed6fffda 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -141,6 +141,10 @@ def _check_dependencies(): 'within_subsection_order': gallery_order.subsectionorder, 'remove_config_comments': True, 'min_reported_time': 1, + # Default thumbnail size (400, 280) + # Default CSS rescales (160, 112) + # Size is decreased to reduce webpage loading time + 'thumbnail_size': (280, 196), } plot_gallery = 'True'