45dfe409dfbd666d807ed62d025cb5ebaa911a43,examples/plot_nifti_simple.py,,,#,13
Before Change
import nibabel
from nilearn.plotting import plot_stat_map
plot_stat_map(nibabel.Nifti1Image(components.get_data()[:, :, :, 0],
components.get_affine()), mean_func_img,
display_mode="y", cut_coords=4, title="Component 0")
plt.show()
After Change
from nilearn.plotting import plot_stat_map
from nilearn.image import index_img
plot_stat_map(index_img(components, 0), mean_func_img, display_mode="y",
cut_coords=4, title="Component 0")
plt.show()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: nilearn/nilearn
Commit Name: 45dfe409dfbd666d807ed62d025cb5ebaa911a43
Time: 2015-01-31
Author: danilobzdok@gmail.com
File Name: examples/plot_nifti_simple.py
Class Name:
Method Name:
Project Name: nilearn/nilearn
Commit Name: 45dfe409dfbd666d807ed62d025cb5ebaa911a43
Time: 2015-01-31
Author: danilobzdok@gmail.com
File Name: examples/connectivity/plot_ica_resting_state.py
Class Name:
Method Name:
Project Name: nilearn/nilearn
Commit Name: 45dfe409dfbd666d807ed62d025cb5ebaa911a43
Time: 2015-01-31
Author: danilobzdok@gmail.com
File Name: examples/decoding/plot_haxby_searchlight.py
Class Name:
Method Name: