Skip to content

stat_ecdf add pad argument #725

Description

@dhimmel

I noticed ggplot2 has a pad argument for stat_ecdf:

If TRUE, pad the ecdf with additional points (-Inf, 0) and (Inf, 1)

But plotnine does not.

I am plotting some empirical cumulative distribution functions where the first value already contains over 50% of all observations. Having the step lines start at zero would be nice visually.

Activity

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