Skip to content

Bug in #847 (stacked histograms) #1370

Closed

Description

@neggert

I think I may have found a bug in #847 (stacked histograms). There's a set of circumstances which I've not isolated yet under which it doesn't stack the histograms. More details when I get time to investigate further.

Activity

  1. neggert commented on Oct 12, 2012

    @neggert
    ContributorAuthor

    Figured it out. There was nothing wrong with the stacking code. The problem is that the array that keeps track of the cumulative bin heights was initialized as np.int. Thus, if you have weighted entries and can have non-integer bin occupancies, you run into problems.

    PR incoming in a few minutes.

  2. efiring commented on Oct 16, 2012

    @efiring
    Member

    Closed by #1406

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