summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2009-05-21 13:35:48 +0000
committerPauli Virtanen <pav@iki.fi>2009-05-21 13:35:48 +0000
commitb95b2b8c0575e7e43e8541f15b25160d62d0af18 (patch)
tree53ba1d27759dfed975229e347fdd2b716be9792d /doc/source/conf.py
parente3377d609ae70ad2bbe312b983a41c8bcae8bd6b (diff)
downloadnumpy-b95b2b8c0575e7e43e8541f15b25160d62d0af18.tar.gz
sphinxext/numpydoc: wrap Examples in plot:: if they contain matplotlib example code
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r--doc/source/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 380282219..14c1c69c4 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -212,6 +212,9 @@ intersphinx_mapping = {'http://docs.python.org/dev': None}
# If we want to do a phantom import from an XML file for all autodocs
phantom_import_file = 'dump.xml'
+# Make numpydoc to generate plots for example sections
+numpydoc_use_plots = True
+
# -----------------------------------------------------------------------------
# Autosummary
# -----------------------------------------------------------------------------