Skip to content

Commit

Permalink
try adding only ggplotly to else statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Carvalho committed Apr 23, 2024
1 parent 04556f7 commit 108122f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/zone_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,13 @@ zone_summary <- function(dat,
bin_colors = break_list$colors,
legend_name = legend_name))

z_plot <- suppressWarnings(plotly::ggplotly(tmp_z_plot) %>%
plotly::style(line.width = 1) %>%
plotly::config(scrollZoom = TRUE) %>%
plotly::plotly_build())
z_plot <- suppressWarnings(plotly::ggplotly(tmp_z_plot)) #%>%
# plotly::style(line.width = 1) %>%
# plotly::config(scrollZoom = TRUE) %>%
# plotly::plotly_build())

# save plot
# save_plot(project, "zone_summary", z_plot)
save_plot(project, "zone_summary", z_plot)
}

# # confid plot ----
Expand Down

0 comments on commit 108122f

Please sign in to comment.