Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geom_GeomTextWordcloud() not working #2019

Closed
danton267 opened this issue Sep 25, 2021 · 2 comments
Closed

geom_GeomTextWordcloud() not working #2019

danton267 opened this issue Sep 25, 2021 · 2 comments
Assignees
Labels

Comments

@danton267
Copy link
Member


library(plotly)
library(ggwordcloud)

data("love_words_small")

p <- ggplot(love_words_small, aes(label = word)) +
  geom_text_wordcloud()

ggplotly(p)

And other examples from here are not working: https://cran.r-project.org/web/packages/ggwordcloud/vignettes/ggwordcloud.html

@moutikabdessabour
Copy link
Contributor

Implementing a solution for this would take a lot of time as pointed out by @cpsievert in #2025 . As it is built on top of the grid package.

@cpsievert
Copy link
Contributor

Yea, and another reason why I don't think it will ever make sense to support conversion of this class of extension (including #2018) is that the results change with the size of the R graphics device, and so we'd have to essentially re-implement these extensions client-side for them to work correctly on resize, which would be a very big project.

Ideally, plotly/plotly.js#4674 would get implemented in a way that would support these extensions, but that also seems difficult/unlikely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants