nispace.plotting.view_surf

nispace.plotting.view_surf(data=None, parcellation=None, hemi='L', template='fsaverage', replace_nan=0, template_kwargs=None, parcellation_kwargs=None, verbose=False, **kwargs)[source]

Quick interactive nilearn surface viewer for parcellated or vertex-wise data on a fetched template/parcellation.

If data is a 1D array/Series matching the number of parcels, it is expanded to a vertex-wise surface map first; if it already matches the template’s vertex count, it is used as-is. If data is omitted, the parcellation’s own parcel indices are plotted. Thin wrapper around nilearn.plotting.view_surf; **kwargs are forwarded to it.