Skip to content

Conversation

@thomasp85
Copy link
Member

Fixes #1568

R/guides-.r Outdated

# process layer information
guides_geom <- function(gdefs, layers, default_mapping) {
# remove layers with show.legend=FALSE or NA
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this logic is correct? NA means use the default, i.e. show if the aesthetic is used

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh - I'll fix

@hadley
Copy link
Member

hadley commented Sep 27, 2016

LGTM

guide_geom.colorbar <- function(guide, layers, defaul_mapping) {
# Layers that use this guide
guide_layers <- plyr::llply(layers, function(layer) {
matched <- matched_aes(layer, guide, defaul_mapping)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defaul_mapping not default_mapping

@thomasp85 thomasp85 merged commit ba5c090 into tidyverse:master Sep 28, 2016
@lock
Copy link

lock bot commented Jan 18, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants