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

Skip to content

Commit e8654e1

Browse files
authored
Merge pull request #29017 from timhoffm/doc-figure-size
DOC: Document preferred figure size for examples
2 parents 51e7230 + 3168018 commit e8654e1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/devel/document.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,13 @@ minimal amount of code necessary to showcase the feature. The lack of extraneous
11061106
makes it easier for the reader to map which parts of code correspond to which parts of
11071107
the plot.
11081108

1109+
Figure size
1110+
^^^^^^^^^^^
1111+
When customizing figure sizes, we aim to avoid downscaling in rendered HTML docs.
1112+
The current width limit (induced by *pydata-sphinx-theme*) is 720px, i.e.
1113+
``figsize=(7.2, ...)``, or 896px if the page does not have subsections and
1114+
thus does not have the "On this page" navigation on the right-hand side.
1115+
11091116
Miscellaneous
11101117
=============
11111118

0 commit comments

Comments
 (0)