8000 hist again... normed=True, stacked=True doesn't make sense · Issue #1745 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
hist again... normed=True, stacked=True doesn't make sense #1745
Closed
@neggert

Description

@neggert

Hi,

Given normed=True, stacked=True, hist will first normalize each histogram to 1, then stack them all. While not technically incorrect, I can't think of a situation in which one would use this.

I think it would be more useful for the function to stack the histograms, then normalize such that the sum of all of the histograms is one.

I can implement this when I get time, I'm mostly wondering if anyone sees a good reason to leave it as is.

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

      0