From b95b2b8c0575e7e43e8541f15b25160d62d0af18 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Thu, 21 May 2009 13:35:48 +0000 Subject: sphinxext/numpydoc: wrap Examples in plot:: if they contain matplotlib example code --- doc/source/conf.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/source/conf.py') 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 # ----------------------------------------------------------------------------- -- cgit v1.2.1