Skip to content

annotation_logticks() skips panels with non-finite range #5232

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

Merged
merged 3 commits into from
Mar 15, 2023

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #5229.

Briefly, it adds two checks to ensure the x/y range is finite before drawing ticks and erroring in the calculation.

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

@thomasp85 thomasp85 added this to the ggplot2 3.4.2 milestone Mar 14, 2023
@teunbrand teunbrand merged commit 1f2a2ef into tidyverse:main Mar 15, 2023
@teunbrand teunbrand deleted the fix_logticks_infinites branch March 15, 2023 06:23
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.

Error in annotation_logticks when combining with facet_grid and free scale
2 participants