Skip to content

Commit 86b244b

Browse files
Allowed for user defined axis positions. Closes plotly#2029
1 parent 6186822 commit 86b244b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/ggplotly.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,7 @@ gg2list <- function(p, width = NULL, height = NULL,
753753
gridwidth = unitConvert(panelGrid, "pixels", type),
754754
zeroline = FALSE,
755755
anchor = anchor,
756+
side = scales$get_scales(xy)$position,
756757
# layout.axisid.title don't yet support alignment :(
757758
title = list(
758759
text = faced(axisTitleText, axisTitle$face),

0 commit comments

Comments
 (0)