adjust_plotly_facet_axis_titles: Adjust Location of Plotly's Facet X & Y Axis Titles

Description Usage Arguments Examples

View source: R/plotly_functions.R

Description

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

Usage

1

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

1
2
3
4
5
## Not run: 
p %>%
  adjust_plotly_axis_titles(x = -0.15)

## End(Not run)

KoderKow/kowr documentation built on July 19, 2021, 4:18 p.m.