Skip to content

add combine_aes() function à la ggforce #6787

@EvaMaeRey

Description

@EvaMaeRey

Given, ggforce's filter inspiration #6774, another add that might be useful to the extender crowd could be combine_aes(), helpful in that it afford greater concision and also help better record which part of existing the defaults are the target of a change, as is done for example in GeomCircle's definition:

GeomCircle <- ggproto('GeomCircle', GeomShape,
  default_aes = combine_aes(GeomShape$default_aes, aes(colour = 'black', fill = NA))
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions