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_GeomArcBar() Implementation #1736

Closed
MarcElosua opened this issue Apr 5, 2020 · 1 comment
Closed

geom_GeomArcBar() Implementation #1736

MarcElosua opened this issue Apr 5, 2020 · 1 comment

Comments

@MarcElosua
Copy link

Hi!
Thank you very much for developing and maintaining such a good package, it is super useful and very easy to use!
I ran into these warnings when I was trying to visualize scatterpie plots:

1: In geom2trace.default(dots[[1L]][[3L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) :
geom_GeomArcBar() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issues

Here is some minimal example code

library(ggplot2)
library(scatterpie)
d <- data.frame(x=rnorm(5), y=rnorm(5))
d$A <- abs(rnorm(5, sd=1))
d$B <- abs(rnorm(5, sd=2))
d$C <- abs(rnorm(5, sd=3))
plt <- ggplot() + geom_scatterpie(aes(x=x, y=y), data=d, cols=c("A", "B", "C")) + coord_fixed()
plotly::ggplotly(plt)

Thank you very much!
Marc

@cpsievert
Copy link
Collaborator

Thanks, if and when #1326 happens, this should automatically work. Closing since this is a duplicate of #566 (GeomArcBar is from ggforce)

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

No branches or pull requests

2 participants