Skip to content

flip justification along with angle - #5600

Merged
teunbrand merged 1 commit into
tidyverse:rc/3.5.0from
teunbrand:radial_justification
Dec 19, 2023
Merged

teunbrand merged 1 commit into
tidyverse:rc/3.5.0from
teunbrand:radial_justification

Conversation

@teunbrand

Copy link
Copy Markdown
Collaborator

This PR to the RC aims to fix #5599.

The reprex from that issue with correct label justification:

devtools::load_all("~/packages/ggplot2")
#> ℹ Loading ggplot2

ggplot(mtcars, aes(x = seq_along(disp), y = disp)) +
  geom_col() +
  geom_text(aes(y = Inf, label = rownames(mtcars)), hjust = 1, angle = 90) +
  coord_radial(rotate_angle = TRUE)

Created on 2023-12-18 with reprex v2.0.2

@teunbrand
teunbrand changed the base branch from main to rc/3.5.0 December 18, 2023 22:05

@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

@teunbrand
teunbrand merged commit ed4971e into tidyverse:rc/3.5.0 Dec 19, 2023
@teunbrand
teunbrand deleted the radial_justification branch December 19, 2023 10:02
thomasp85 pushed a commit that referenced this pull request Feb 23, 2024
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.

Using coord_radial(rotate_angle = TRUE) does not adjust justification.

2 participants