diff options
author | Pauli Virtanen <pav@iki.fi> | 2009-06-27 15:02:14 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2009-06-27 15:02:14 +0000 |
commit | 692f3f65acd441995f893908d694b3891a67070c (patch) | |
tree | eaf7c6fe5d1b3ab13525eb7f85fd598db67cce6a /doc/source/conf.py | |
parent | cefd431502c6b9915611ca46cd8194b7007db0ef (diff) | |
download | numpy-692f3f65acd441995f893908d694b3891a67070c.tar.gz |
docs: generate Attributes and Methods sections in class documentation
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r-- | doc/source/conf.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 318011e8a..1fbd0c60e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -18,12 +18,13 @@ sys.path.insert(0, os.path.abspath('../sphinxext')) extensions = ['sphinx.ext.autodoc', 'sphinx.ext.pngmath', 'numpydoc', 'sphinx.ext.intersphinx', 'sphinx.ext.coverage', - 'only_directives', 'plot_directive'] + 'plot_directive'] if sphinx.__version__ >= "0.7": extensions.append('sphinx.ext.autosummary') else: extensions.append('autosummary') + extensions.append('only_directives') # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -250,6 +251,9 @@ np.random.seed(0) plot_include_source = True plot_formats = [('png', 100), 'pdf'] +import math +phi = (math.sqrt(5) + 1)/2 + import matplotlib matplotlib.rcParams.update({ 'font.size': 8, @@ -258,7 +262,7 @@ matplotlib.rcParams.update({ 'xtick.labelsize': 8, 'ytick.labelsize': 8, 'legend.fontsize': 8, - 'figure.figsize': (3.236068, 2), + 'figure.figsize': (3*phi, 3), 'figure.subplot.bottom': 0.2, 'figure.subplot.left': 0.2, 'figure.subplot.right': 0.9, |