Skip to content

Inconsistency in required aesthetics between errorbar and errorbarh #1933

Closed
@metanoid

Description

@metanoid

In the geom_errorbar code,
the required aesthetics are
required_aes = c("x", "ymin", "ymax"),

However, in the geom_errorbarh code,
the required aesthetics are
required_aes = c("x", "xmin", "xmax", "y"),

In other words, the x aesthetic is required for both plots, but the y aesthetic is required only for errorbarh.

I believe the correct answer would be to drop the x requirement from errorbarh

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