Open
Description
Create a plot with the following code and click any of 'Zoom in', 'Zoom out', 'Autoscale' or 'Reset axes'. The size of the plot shrinks and gets back to its original size after a few clicks. If ticktext doesn't contain "" everything works as expected.
library(plotly)
plot_ly() %>%
layout(
xaxis = list(
tickvals = 1:2,
ticktext = c("", "a")
)
)
This happens with plotly 4.9.2. I tested with older versions (4.8.0, 4.9.0, 4.9.1) and couldn't reproduce this behaviour.
I also couldn't reproduce it with the latest version of plotly.js.