gastropy.plot_glass_brain#
- gastropy.plot_glass_brain(data, affine=None, threshold=None, title='Gastric-Brain Coupling', cmap='YlOrRd', **kwargs)[source]#
Plot a coupling map as a transparent glass brain.
Wrapper around
nilearn.plotting.plot_glass_brainfor quick overview visualizations of coupling results.- Parameters:
data (np.ndarray or nibabel.Nifti1Image) – 3D coupling volume. If a numpy array,
affinemust be provided.affine (np.ndarray, optional) – 4x4 affine matrix. Required if
datais a numpy array.threshold (float, optional) – Values below this threshold are not displayed.
title (str, optional) – Plot title.
cmap (str, optional) – Matplotlib colormap. Default is
"YlOrRd".**kwargs – Additional arguments passed to
nilearn.plotting.plot_glass_brain.
- Returns:
display – Nilearn display object for further customization.
- Return type:
nilearn.plotting.displays.OrthoProjector