I'm plotting a graph with ggplot, using plotly. How do I make the plot private rather than public on plotly? My code looks like:
a <- ggplot(data, aes(var1, var2, text=var3)) + geom_point()
py$ggplotly(a)
You want to pass the following argument when calling ggplotly
:
py$ggplotly(a, kwargs=list(world_readable=FALSE))
For future reference, this is documented here https://plot.ly/r/privacy/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.