Skip to content

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #6692.

The problem was #5789 skipping too eagerly.

Reprex from issue:

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

test <- tibble::tibble(bin = seq(3), count = c(23,22,10))

ggplot(test, aes(x = bin, y = count))+
  geom_col()+
  geom_text(
    aes(label = round(count, 2)),
    position = position_stack(vjust = 0.5)
  )

Created on 2025-10-10 with reprex v2.1.1

@teunbrand teunbrand added this to the ggplot2 4.0.1 milestone Oct 10, 2025
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.

vjust is ignored in position_stack() in 4.0.0

1 participant