Skip to content

ggproto docs about Geom are wrong? #4158

Closed

Description

@burchill

From #3509, it seems that setup_params() has been added to the Geom object, but the docs (i.e., for ggplot2-ggproto) explicitly say that the Geom doesn't have this method.

Activity

  1. yutannihilation commented on Aug 4, 2020

    @yutannihilation
    Member

    Thanks, the docs seem incorrect. Would you like to contribute a pull request?

  2. burchill commented on Aug 4, 2020

    @burchill
    ContributorAuthor

    I can do it, but I don't think I know enough about Geoms/ggproto to do it well. Should I just delete the whole paragraph?

  3. yutannihilation commented on Aug 4, 2020

    @yutannihilation
    Member

    Yes, I think you can just delete it. Until #3506, we haven't found a nice usage of setup_params() on Geom objects, but now we know we actually need the method.

  4. yutannihilation commented on Aug 4, 2020

    @yutannihilation
    Member

    Fixed by #4161

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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