Skip to content

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #5324.

Briefly, it adjusts the GuideColourbar$merge() method to preserve the aesthetic column of the merged-in guide.
This causes the GuideColourbar$get_layer_key() to not throw out the guide if the first but not the second aesthetic is used in a layer.

@teunbrand teunbrand added bug an unexpected problem or unintended behavior guides 📏 labels Jul 9, 2023
Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

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

LGTM

@teunbrand teunbrand merged commit 2cd0e96 into tidyverse:main Aug 9, 2023
@teunbrand teunbrand deleted the merge_bug branch August 9, 2023 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior guides 📏
Projects
None yet
Development

Successfully merging this pull request may close these issues.

geom_raster drops legend when col and fill aesthetics added
2 participants