Closed
Description
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.