Revision: 6056
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6056&view=rev
Author:   mmetz_bn
Date:     2008-08-30 10:11:37 +0000 (Sat, 30 Aug 2008)

Log Message:
-----------
fix problem with hist

Modified Paths:
--------------
    trunk/matplotlib/examples/pylab_examples/mri_with_eeg.py

Modified: trunk/matplotlib/examples/pylab_examples/mri_with_eeg.py
===================================================================
--- trunk/matplotlib/examples/pylab_examples/mri_with_eeg.py    2008-08-28 
13:50:39 UTC (rev 6055)
+++ trunk/matplotlib/examples/pylab_examples/mri_with_eeg.py    2008-08-30 
10:11:37 UTC (rev 6056)
@@ -24,7 +24,7 @@
 if 1:  # plot the histogram of MRI intensity
     subplot(222)
     im = ravel(im)
-    im = take(im, nonzero(im)) # ignore the background
+    im = ravel(take(im, nonzero(im))) # ignore the background
     im = im/(2.0**15) # normalize
     hist(im, 100)
     xticks([-1, -.5, 0, .5, 1])


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to