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

Skip to content

Commit 0b60223

Browse files
authored
Merge pull request #11222 from matplotlib/auto-backport-of-pr-11221
Backport PR #11221 on branch v2.2.2-doc
2 parents 5a900e4 + b2ebcc5 commit 0b60223

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
import six
1919
from glob import glob
2020

21-
# This is only necessary to monkey patch the signature later on.
22-
from sphinx_gallery import gen_rst
23-
2421
# If your extensions are in another directory, add it here. If the directory
2522
# is relative to the documentation root, use os.path.abspath to make it
2623
# absolute, like shown here.
@@ -79,6 +76,8 @@ def _check_deps():
7976

8077
# Import only after checking for dependencies.
8178
from sphinx_gallery.sorting import ExplicitOrder
79+
# This is only necessary to monkey patch the signature later on.
80+
from sphinx_gallery import gen_rst
8281

8382
if six.PY2:
8483
from distutils.spawn import find_executable

0 commit comments

Comments
 (0)