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
I discovered this example via the checkmark on #161 titled "geom_rect()"
This works fine:
base <- ggplot(mtcars) + geom_density(aes(x=disp, group=cyl, fill=factor(cyl)), alpha=0.6, adjust=0.75)
But once I add a "rect layer", the legend goes away (it shouldn't):
base + annotate("rect", xmin=100, xmax=200, ymin=0, ymax=0.02, alpha=0.2, fill="red")
The text was updated successfully, but these errors were encountered:
Now that you mentioned it in #225, I shall take a look.
Sorry, something went wrong.
Interesting. When I ran the same code as you for the first plot, I did not get the legends -- could be a change in the code since April 30.
Legends have been turned off for boxplots as well. At least they are not off for barcharts.
m <- ggplot(mtcars, aes(factor(cyl), mpg)) p <- m + geom_boxplot(aes(fill = factor(cyl))) py$ggplotly(p)
ggplot2
plotly
Fixed via 5509909
13bzhang
No branches or pull requests
I discovered this example via the checkmark on #161 titled "geom_rect()"
This works fine:
But once I add a "rect layer", the legend goes away (it shouldn't):
The text was updated successfully, but these errors were encountered: