[med-svn] [python-mne] 59/376: update examples for doc

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:22:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

yoh pushed a commit to annotated tag v0.1
in repository python-mne.

commit f2fdbf9c4a46a85c453006eb270d3268665407b0
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Thu Jan 27 22:41:14 2011 -0500

    update examples for doc
---
 examples/plot_estimate_covariance_matrix.py | 7 +++----
 examples/plot_whitened_evoked_data.py       | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/examples/plot_estimate_covariance_matrix.py b/examples/plot_estimate_covariance_matrix.py
index 63fe3e3..06b247c 100644
--- a/examples/plot_estimate_covariance_matrix.py
+++ b/examples/plot_estimate_covariance_matrix.py
@@ -40,13 +40,12 @@ print diagonal_cov
 ###############################################################################
 # Show covariance
 import pylab as pl
-pl.figure(figsize=(10, 5))
+pl.figure(figsize=(8, 4))
 pl.subplot(1, 2, 1)
 pl.imshow(full_cov.data, interpolation="nearest")
-pl.title('Full covariance matrix (%d channels)' % full_cov.data.shape[0])
+pl.title('Full covariance matrix')
 pl.subplot(1, 2, 2)
 pl.imshow(diagonal_cov.data, interpolation="nearest")
-pl.title('Diagonal covariance matrix (%d channels)' % \
-                                              diagonal_cov.data.shape[0])
+pl.title('Diagonal covariance matrix')
 pl.subplots_adjust(0.06, 0.02, 0.98, 0.94, 0.16, 0.26)
 pl.show()
diff --git a/examples/plot_whitened_evoked_data.py b/examples/plot_whitened_evoked_data.py
index d863857..58e677a 100644
--- a/examples/plot_whitened_evoked_data.py
+++ b/examples/plot_whitened_evoked_data.py
@@ -1,7 +1,7 @@
 """
-=====================================================
-Whiten an evoked date using a noise covariance matrix
-=====================================================
+==================================================
+Whiten evoked data using a noise covariance matrix
+==================================================
 
 """
 # Author: Alexandre Gramfort <gramfort at nmr.mgh.harvard.edu>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git



More information about the debian-med-commit mailing list