layout_ggplotly: layout_ggplotly

View source: R/functions.R

layout_ggplotlyR Documentation

layout_ggplotly

Description

Tweaks the layout of the x and y axis labels so they don't overlap the axis ticks from: https://stackoverflow.com/questions/42763280/r-ggplot-and-plotly-axis-margin-wont-change

Usage

layout_ggplotly(gg, x = -0.1, y = -0.04)

Arguments

gg

and plotly plot object

x

a number by which to adjust the vertical position of the x axis name

y

a number by which to adjust the horizontal position of the y axis name

Value

a plotly plot object


RichardJActon/MutantSets documentation built on Feb. 27, 2025, 3:13 a.m.