Skip to content

Refactor geom_contour()? #3044

Closed
Closed
@clauswilke

Description

@clauswilke

As discussed on Twitter here and previously explained in a blog post by @thomasp85 an argument can be made that geom_contour() should take a 2d density map as input and calculate its own contour lines without using a stat. I'm opening this issue so we can discuss pros and cons of various approaches.

I think there is precedent for this kind of refactoring with the refactoring of geom_bar(), geom_histogram(), and geom_col() some time back.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions