Skip to content

stat_vline complains about both intercept and xintercept arguments #624

Closed
@andygarcia

Description

@andygarcia

Using ggplot 0.9.0

stat_vline(intercept=.5, linetype="dotted")

Error in get(x, envir = this, inherits = inh)(this, ...) : 
  stat_vline now uses xintercept instead of intercept

but:

+   stat_vline(xintercept=.5, linetype="dotted")
Error in do.call("layer", list(mapping = mapping, data = data, geom = geom,  : 
  argument "intercept" is missing, with no default

Using geom_vline instead works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions