Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 414a9d7 commit c301cf1Copy full SHA for c301cf1
1 file changed
examples/pylab_examples/mri_with_eeg.py
@@ -24,7 +24,7 @@
24
if 1: # plot the histogram of MRI intensity
25
subplot(222)
26
im = ravel(im)
27
- im = take(im, nonzero(im)) # ignore the background
+ im = ravel(take(im, nonzero(im))) # ignore the background
28
im = im/(2.0**15) # normalize
29
hist(im, 100)
30
xticks([-1, -.5, 0, .5, 1])
0 commit comments