Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. empty_plot <- function(title = NULL){
  2. p <- plotly_empty(type = "scatter", mode = "markers") %>%
  3. config(
  4. displayModeBar = FALSE
  5. ) %>%
  6. layout(
  7. title = title
  8. )
  9. return(p)
  10. }
  11.  
  12. empty_plot("Why it is empty")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement