diff --git a/R/ggplotly.R b/R/ggplotly.R index e29dd2b907..edf4177967 100644 --- a/R/ggplotly.R +++ b/R/ggplotly.R @@ -753,6 +753,7 @@ gg2list <- function(p, width = NULL, height = NULL, gridwidth = unitConvert(panelGrid, "pixels", type), zeroline = FALSE, anchor = anchor, + side = scales$get_scales(xy)$position, # layout.axisid.title don't yet support alignment :( title = list( text = faced(axisTitleText, axisTitle$face),