When I plot a facet_wrap() and put droplines to the x-axis, they only turn up in the first facet. Have I done something wrong or is this a bug? MWE:
library(plotly)
library(ggplot2)
gg<-ggplot(data = iris,
aes(x = Sepal.Length,
y = Sepal.Width,
color = Species,
group = Petal.Width,
text=sprintf("Petal Width %s<br>Sepal Length: %s", Petal.Width, Sepal.Length)
))+
geom_point()+
facet_wrap(~Species)
ggplotly(gg,tooltip = "text")%>%
layout(xaxis = list(showspikes = T))