-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Fix bug: Fill aesthetic does not show in the legend guide for stat_summary #1978
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
Conversation
|
Can you please:
I'll do a more detailed code review after that |
Rebase against master so that you get the existing travis fix
|
Excuse me for my delay. Your requirements are ready. |
|
Can you please update the title of this PR (and your others) to be informative. I don't know the indices of the ggplot2 bugs off the top of my head. |
|
Your requirements are ready again. |
|
You don't need to repeat the bug name in the PR title. Just write it as the positive statement, e.g. "Show fill in the legend for stat_summary" |
|
Ready! |
hadley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please also add a bullet to NEWS describing this change?
| after_success: | ||
| - Rscript -e 'covr::codecov()' | ||
|
|
||
| before_install: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please delete this?
R/legend-draw.r
Outdated
|
|
||
| grobTree( | ||
| if (isTRUE(params$se)) rectGrob(gp = gpar(col = NA, fill = data$fill)), | ||
| if (isTRUE(params$se) | is.null(params$se)) rectGrob(gp = gpar(col = NA, fill = data$fill)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be || and not |
|
@Emanuelcontreras are you interested in finishing this off? |
This comment has been minimized.
This comment has been minimized.
|
Closing this PR. The issue was resolved via #2567. |
Hi. I read this bug: #1546
Fill aesthetic does not show in the legend guide for stat_summary
And i want to contribute for its solution.
The results: