powered by
Changes the background color of a ggseg3d widget or ggsegray rgl scene.
set_background(p, colour = "#ffffff")
The input object (modified), for piping.
A `ggseg3d` widget or `ggsegray` rgl object.
string. Background color (hex or named color)
if (FALSE) { ggseg3d() |> set_background("black") ggsegray(atlas = dk()) |> set_background("black") }
Run the code above in your browser using DataLab