# mne.viz.plot_bem¶

mne.viz.plot_bem(subject=None, subjects_dir=None, orientation='coronal', slices=None, brain_surfaces=None, src=None, show=True)[source]

Plot BEM contours on anatomical slices.

Parameters
subjectstr

Subject name.

subjects_dir

Path to the SUBJECTS_DIR. If None, the path is obtained by using the environment variable SUBJECTS_DIR.

orientationstr

‘coronal’ or ‘axial’ or ‘sagittal’.

slices

Slice indices.

brain_surfaces

One or more brain surface to plot (optional). Entries should correspond to files in the subject’s surf directory (e.g. "white").

src

SourceSpaces instance or path to a source space to plot individual sources as scatter-plot. Only sources lying in the shown slices will be visible, sources that lie between visible slices are not shown. Path can be absolute or relative to the subject’s bem folder.

showbool

Show figure if True.

Returns
figinstance of matplotlib.figure.Figure

The figure.