I can do this if I go through ggplotly() first:
rivers <- RCzechia::reky("Brno")
p <- ggplot() + geom_sf(data = rivers)
ggplotly(p)
But when I try the same thing with plot_ly(), it only displays a straight line:
plot_ly() %>% add_sf(data = rivers, type = "scatter")
What do I need to do for the second approach to work?
