ggplot2 icon indicating copy to clipboard operation
ggplot2 copied to clipboard

Better way of handling parameters

Open hadley opened this issue 8 years ago • 3 comments

Currently the way we determine the parameters of a geom/stat is ugly. For example, the parameters of a geom are mostly imputed from draw_panel and draw_group, but some need to be listed explicitly in extra_args if they're used elsewhere (as in GeomTile$setup_data().

See also #1532 - na.rm also has to be special cased.

hadley avatar Jan 25 '16 16:01 hadley