hemolearn.plotting.plot_spatial_maps

hemolearn.plotting.plot_spatial_maps(u_img, filename='spatial_maps.png', display_mode='ortho', cut_coords=None, perc_voxels_to_retain='10%', bg_img='/home/hcherkaoui/.local/lib/python3.6/site-packages/nilearn/datasets/data/mni_icbm152_t1_tal_nlin_sym_09a_converted.nii.gz', verbose=False)

Plot spatial maps.

Parameters
u_imglist of Nifti, the spatial maps
filenamestr, (default=’u.pdf’), filename under which the pdf is saved
display_modeNone or str, coords to cut the plotting, possible value are

None to have x, y, z or ‘x’, ‘y’, ‘z’ for a single cut

cut_coordslist, list of slice coordinates to display
perc_voxels_to_retainfloat, (default=0.1), percentage of voxels to

retain when plotting the spatial maps

bg_imgNifti-like or None, (default=None), background image, None means

no image

verbosebool, (default=False), verbosity level