Skip to content

Feature request: allow ggplot() + None #474

Closed

Description

@bersbersbers

I have just learned that ggplot2::ggplot() supports adding NULL to allow conditional constructs without changing the element structure of a ggplot command. See also https://youtu.be/nqI5CmdUYRQ?t=454

Would it be possible to support plotnine.ggplot() + None? Or is there something similar that one could use?

Activity

  1. has2k1 commented on Jan 6, 2021

    @has2k1
    Owner

    You can add geom_blank(). But None does seem nifty.

  2. added a commit that references this issue on Jan 6, 2021
    cbc50af
  3. bersbersbers commented on Jan 6, 2021

    @bersbersbers
    Author

    You can add geom_blank().

    True - although that might behave a little differently, at least in ggplot2 - see the same video a bit later: https://youtu.be/nqI5CmdUYRQ?t=1234

    But None does seem nifty.

    Yes - thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions