| set_background | R Documentation |
Changes the background color of a ggseg3d widget or ggsegray rgl scene.
set_background(p, colour = "#ffffff")
p |
A 'ggseg3d' widget or 'ggsegray' rgl object. |
colour |
string. Background color (hex or named color) |
The input object (modified), for piping.
## Not run:
ggseg3d() |> set_background("black")
ggsegray(atlas = dk()) |> set_background("black")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.