Skip to content

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

Merged
teunbrand merged 3 commits into
tidyverse:mainfrom
teunbrand:fix_logticks_infinites
Mar 15, 2023
Merged

teunbrand merged 3 commits into
tidyverse:mainfrom
teunbrand:fix_logticks_infinites

Conversation

@teunbrand

Copy link
Copy Markdown
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.

@thomasp85 thomasp85 left a comment

Copy link
Copy Markdown
Member

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