Skip to content

Commit

Permalink
feat: plotly defaults added globally
Browse files Browse the repository at this point in the history
  • Loading branch information
ESCRI11 committed Mar 17, 2023
1 parent fe00711 commit 6bde44a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/base/R/ui-PlotModule.R
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,8 @@ PlotModuleServer <- function(
# By default remove plotly logo from all plots
plot <- func() %>% plotly::config(displaylogo = FALSE) %>%
plotly::plotly_build()
plot <- plot %>%
plotly_default1()
# If there is already custom buttons, append the edit one
# (issue #2210 plotly/plotly.R)
if(inherits(plot$x$config$modeBarButtons, "list")){
Expand Down

0 comments on commit 6bde44a

Please sign in to comment.