Open
Description
While this bug is "small", it is effecting heatmaply behavior so a fix would be very helpful.
Following is a reproducible example with the plots of ggplot2 and plotly:
df <- data.frame(
x = rep(c(2, 5, 7, 9, 12), 2),
y = rep(c(1, 2), each = 5),
w = rep(diff(c(0, 4, 6, 8, 10, 14)), 2)
)
p <- ggplot(df, aes(x, y)) +
geom_tile(aes(fill = w), colour = "grey50", size = 2) +
theme_bw()
p
ggplotly(p)
ggplot2:
plotly (notice the grey borders are missing)