Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Matplotlib 1.2.0 no longer respects the "bottom" argument for horizontal histograms #1763

Closed
mbewley opened this Issue · 4 comments

4 participants

@mbewley

My use case is that I create a series of histograms, with "orientation=horizontal", and "normed=True" in matplotlib 1.1.1. I space them out in a single axes, using the "bottom" argument to set where along the x axis they should appear. This works great for 1.1.1, but is broken in 1.2.
Do you need code, or is the problem obvious enough? Exact same code running with different matplotlib versions installed:

Matplotlib 1.1.1
Selection_014

Matplotlib 1.2.0
Selection_013

@tacaswell
Owner

This is not specific to orientation='horizontal', hist(randn(50), bottom=25) does not work as expected either.

@tacaswell tacaswell referenced this issue from a commit in tacaswell/matplotlib
@tacaswell tacaswell fix of issue #1763
The `bottom` that needs to be passed to bar or barh got lost kwarg got
lost in the histogram refactoring.
6fdc336
@tacaswell
Owner

@mbewley Can you confirm this fixes your problem (or provide the code you used to generate those images??

This was referenced
@mdboom
Owner

Closed because #1775 is merged.

@dmcdougall
Collaborator

Closing.

@dmcdougall dmcdougall closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.