Applies title font settings from the Shiny input object to an
existing plotly figure. The title is centered horizontally and
positioned using the supplied title_y value in the plotly
layout.
Examples
if (FALSE) { # \dontrun{
p <- ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg)) + ggplot2::geom_point()
input <- list(
title.font.size = 16, title.font.family = "Arial", title.font.color = "black"
)
apply_title_layout(p, input, isolate_fn = identity)
} # }