Skip to content

Unexpected behavior in element_text() horizontal justification #2653

@zlskidmore

Description

@zlskidmore

In the upcoming release of ggplot2 (2.3.0) the behavior of element_text() has changed. Specifically it looks like the justification anchors have changed in relation to the text. For Example:

In the current release:
ggplot_2 2 1

In the development version:
ggplot2_2 3 0

mtcars$name <- rownames(mtcars)

ggplot(mtcars, aes(x=name, y=carb)) + geom_bar(stat="identity") + theme(axis.text.x=element_text(angle=60, hjust=1))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions