Commit 56d6a684 authored by Eric Larson's avatar Eric Larson

FIX: Fixing docs

parent afe9c866
......@@ -45,7 +45,8 @@ master_doc = 'index'
# General information about the project.
project = u'PySurfer'
copyright = u'2011-2012, Michael Waskom, Alexandre Gramfort, Scott Burns, Martin Luessi'
copyright = (u'2011-2013, Michael Waskom, Alexandre Gramfort, Scott Burns, '
'Martin Luessi, Eric Larson')
# Generate the plots for the gallery
plot_gallery = True
......@@ -222,5 +223,5 @@ latex_documents = [
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'pysurfer', u'PySurfer Documentation',
[u'Michael Waskom, Alexandre Gramfort, Scott Burns'], 1)
[u'Michael Waskom, Alexandre Gramfort, Scott Burns, Eric Larson'], 1)
]
......@@ -10,14 +10,14 @@ MRI and MEG data.
PySurfer offers both a command-line interface designed to broadly
replicate Freesurfer's Tksurfer program as well as a Python library
for writing scripts to efficiently explore complex datasets.
for writing scripts to efficiently explore complex datasets.
Contents
--------
.. toctree::
:maxdepth: 2
install
examples/index.rst
documentation/index.rst
......@@ -33,6 +33,8 @@ Scott Burns, Harvard Med. School MGH Martinos Center
Martin Luessi, Harvard Med. School MGH Martinos Center
Eric Larson, University of Washington ILABS
License
-------
......
......@@ -186,14 +186,7 @@ def generate_file_rst(fname, target_dir, src_dir, plot_gallery):
plt.savefig(image_file)
try:
try:
from mayavi import mlab
except ImportError:
from enthought.mayavi import mlab
e = mlab.get_engine()
if len(e.scenes) > 0:
mlab.savefig(image_file, size=(400, 400))
brain.save_image(image_file)
except:
pass
......
......@@ -22,7 +22,8 @@ hemi = 'split'
"""
create Brain object for visualization
"""
brain = Brain(subject_id, hemi, surface)
brain = Brain(subject_id, hemi, surface,
config_opts=dict(width=800, height=400))
"""
read MNE dSPM inverse solution
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment