Skip to content

dynamicTicks doesn't inverse map colorbar data #1045

@cpsievert

Description

@cpsievert

As a result, the categories of a positional axis includes too many categories (when a colorbar is present)

ggplot(mpg, aes(hwy, factor(manufacturer))) + 
  stat_bin2d(aes(fill = ..density..), binwidth = c(3,1))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions