Skip to content

Commit 23ccf4a

Browse files
committed
top, not bottom
1 parent ae647cb commit 23ccf4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/ggplotly.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ gg2list <- function(p, width = NULL, height = NULL, tooltip = "all",
453453
make_label(
454454
faced(axisTitleText, axisTitle$face), x, y, el = axisTitle,
455455
xanchor = if (xy == "x") "center" else "right",
456-
yanchor = if (xy == "x") "bottom" else "center",
456+
yanchor = if (xy == "x") "top" else "center",
457457
annotationType = "axis"
458458
)
459459
)

0 commit comments

Comments
 (0)