layout_ggplotly | R Documentation |
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)
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 |
a plotly plot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.