If I use the basic example:
library(plotly)
set.seed(100)
d <- diamonds[sample(nrow(diamonds), 1000), ]
p <- ggplot(data = d, aes(x = carat, y = price)) +
geom_point(aes(text = paste("Clarity:", clarity))) +
geom_smooth(aes(colour = cut, fill = cut)) + facet_wrap(~ cut)
(gg <- ggplotly(p))
and then configure:
config(gg,showLink=F, sendData=F, displaylogo=F, displayModeBar = F)
the modal bar doesn't appear. However, if you click and drag to zoom in, the modal bar reappears (WITH the link to "Save and Edit Plot in Cloud"). Presumably this is undesired behavior...it certainly is undesired for me, as I am trying keep people from uploading the private data I'm hosting up to Plotly's cloud with the click of a button.
Edit: interestingly, the modal disappears if I interact with the plot again, and then reappears if I interact a third time, and so on.
If I use the basic example:
and then configure:
the modal bar doesn't appear. However, if you click and drag to zoom in, the modal bar reappears (WITH the link to "Save and Edit Plot in Cloud"). Presumably this is undesired behavior...it certainly is undesired for me, as I am trying keep people from uploading the private data I'm hosting up to Plotly's cloud with the click of a button.
Edit: interestingly, the modal disappears if I interact with the plot again, and then reappears if I interact a third time, and so on.