We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For a visualization I'm making thick curves as follows:
require(ggplot2) require(plotly) require(Hmisc) len=100 edge=data.frame(bezier(x=c(0, 1, 2), y=c(0, 1, 0),evaluation = len)) edge$Sequence <- sin( seq(0,pi,length.out=len) ) gg = ggplot(edge,aes(x = x, y = y, size = Sequence)) + geom_path() + scale_size( range = c(.3, 20), guide = F) + theme_bw(base_size = 16) + ylim(0,.6) + scale_alpha(guide=F) pl <- ggplotly(gg)
which in ggplot2 gives:
but which with ggplotly
pl <- ggplotly(gg)
gives
I think the problem is that ggplotly is assuming every different "size" should be considered as a separate path, whereas ggplot2 is not.
The text was updated successfully, but these errors were encountered:
Here is an even more minimal example:
g <- ggplot(economics, aes(date, unemploy, size = pop)) + geom_line() ggplotly(g)
Sorry, something went wrong.
No branches or pull requests
For a visualization I'm making thick curves as follows:
which in ggplot2 gives:

but which with ggplotly
gives

I think the problem is that ggplotly is assuming every different "size" should be considered as a separate path, whereas ggplot2 is not.
The text was updated successfully, but these errors were encountered: