Skip to content
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

Repurpose rect key #6327

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Repurpose rect key #6327

wants to merge 5 commits into from

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #5385.

Briefly, the draw_key_rect() function defaults NA-fill to the colour aesthetic.
To course-correct geom_rect() is now using draw_key_polygon() instead, which has been given 0-width linewidth by default.

@teunbrand
Copy link
Collaborator Author

teunbrand commented Feb 10, 2025

I have nu clue why the checks pass locally and most CI checks fail. The only difference should be linewidths at elements that have blank linetypes, so visually it shouldn't matter, but it appears as if the snapshot files are written inconsistently across different R versions?

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.

draw_key_rect fails to get color from outline when fill is NA
1 participant