-
Notifications
You must be signed in to change notification settings - Fork 633
Support for ggplot stacked bar plots? #198
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
Comments
Thanks for reporting! Here is a reproducible example of the same problem: p <- ggplot(mtcars, aes(factor(vs), fill=factor(cyl))) +
geom_bar(position = "fill") |
there definitely are some tests for bar graphs like this e.g. actually the order of bars and legend entries is not the same between plotly and ggplot2 -- is that a problem? if so we should change this line expect_identical(trace.names, c("Bio", "Math")) |
The problem here has to do with |
Let ggplot handle histogran binning. Fix #198
I am not sure this is an issue as much as a question as to whether this kind of graph is supposed to be supported. I have a stacked bar plot in ggplot and it does not appear the same way online in ploty. Here is the code and the link to the graph on ploty.
output:
Local out put graph:
output url:
https://plot.ly/~mrvollger/59
The text was updated successfully, but these errors were encountered: