cortex.volume.show_slice

cortex.volume.show_slice(dataview, **kwargs)[source]

Interactively display a single anatomical slice with a functional volume overlaid, letting the viewed slice and axis be changed with the mouse.

Scroll to move through slices along the current axis; click to switch to the next axis (cycling through the three spatial dimensions).

Parameters:
dataviewVolume

Volumetric data to overlay on the subject’s anatomical image.

**kwargs

Additional keyword arguments are passed to matplotlib.pyplot.imshow for the functional overlay (e.g. cmap, vmin, vmax), overriding the defaults taken from dataview.

Returns:
figmatplotlib.figure.Figure

The interactive figure.