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

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