plotly_elegant: plotly dark theme

View source: R/plotly_elegant.R

plotly_elegantR Documentation

plotly dark theme

Description

plotly dark theme

Usage

plotly_elegant(
  plot,
  ...,
  margin = 3,
  background = "#1f1f1e",
  color = "#ffffff"
)

Arguments

plot

plotly plot

margin

plot margin

background

plot background

color

font color

Examples

mtcars %>%
  plot_ly(x = ~cyl, y = ~mpg) %>%
  plotly_elegant(
    xaxis = list(title = "hey"),
    yaxis = list(side = "right")
  )

zac-garland/zgtools documentation built on July 9, 2022, 3:44 a.m.