Skip to content

histstack looks bad with alpha. #1631

Closed

Description

@piti118

related to #847.

histstack should use fill_between instead of overlaying them on top of each other. (notice the green is mixed with blue instead of being pure green)

a = randn(1000)
b = randn(1000)
hist([a,b],histtype='stepfilled', stacked=True, alpha=0.5)

Unknown

Activity

  1. neggert commented on Mar 1, 2013

    @neggert
    Contributor

    This should be fixed with the merging of #1724.

  2. ndawe commented on Mar 28, 2013

    @ndawe

    Seems to be fixed:

    figure_1

  3. mdboom commented on Mar 28, 2013

    @mdboom
    Member

    @ndawe: Thanks for confirming. I'm going to go ahead and close this bug then.

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