Skip to content

ggplot adds backticks to labels (regression?) #2975

Closed
@idavydov

Description

@idavydov

ggplot adds backticks to labels (see x-axis label). The behavior was different in previous versions (e.g., 2.2.1).

library(ggplot2)
d <- data.frame(rnorm(100))
colnames(d) <- 'a b'
ggplot(d, aes(`a b`)) + geom_histogram()
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.

Created on 2018-11-01 by the reprex package (v0.2.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions