Credit: https://github.com/ropensci/plotly/issues/1224

adjust_plotly_facet_axis_titles(p, x = NULL, y = NULL)

Arguments

p

A plotly object.

x

A numeric. Value to place x-axis title on a plotly object. Use get_plotly_axis_titles_values() to get the objects current value as a reference.

y

A numeric. Value to place y-axis title on a plotly object. Use get_plotly_axis_titles_values() to get the objects current value as a reference.

Examples

if (FALSE) { p %>% adjust_plotly_axis_titles(x = -0.15) }