Skip to content

Error when all data is outside limits of continuous scale #627

Closed
@wch

Description

@wch

This is from the examples:

# OK
qplot(mpg, wt, data=mtcars) + ylim(0, 10)

# All data is outside y limits - Error
qplot(mpg, wt, data=mtcars) + ylim(10, 20)
# Error: Discrete value supplied to continuous scale

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