Builds a minimal, deterministic plot of a ggseg_atlas: every region filled
by its label, no legend, and ggplot2::theme_void(). This is the canonical
construction used across the ggsegverse for visual-regression (vdiffr)
snapshots, so that every atlas is rendered the same way and a stray legend,
axis, or title cannot creep into a snapshot. It doubles as a quick way to
preview an atlas.
Usage
brain_test_plot(
atlas,
position = position_brain(hemi ~ view),
na.value = "grey"
)Value
A ggplot2::ggplot() object.
Details
The atlas palette is applied with ggplot2::scale_fill_manual() when it is
present; atlases without a palette fall back to the default ggplot2 fill
scale.
Examples
brain_test_plot(dk())
