I've seen this question / issue on plotly forums as well, but no answer to be found there so I am posting it here.
Does anyone have a clue how to get the middle plot the same size as the others? It also happens to the middle row when making a plot of 3 x 3 panels
The middle plot column ends up narrower than the outer columns:
library(plotly)
library(purrr)
# using lapply
mtcars %>%
split(mtcars$cyl) %>%
lapply(function(x) {
plot_ly(data = x,
x = rownames(x),
y = ~mpg,
type = "bar")
}) %>%
subplot(margin = .05)
