Skip to content

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #5211.

It does so by having resolution() consider the mapped_discrete class as it does integers, where the resolution is set to 1.
I've added some tests so that it becomes easier to see if resolution() breaks in the future.

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 d7f2241 into tidyverse:main Mar 26, 2023
@teunbrand teunbrand deleted the resolution branch March 26, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

different widths in bar plot when using undropped factor levels
2 participants