Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mbewley opened this issue Feb 19, 2013 · 4 comments

Comments

@mbewley
Copy link

mbewley commented Feb 19, 2013

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
Copy link
Member

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

tacaswell added a commit to tacaswell/matplotlib that referenced this issue Feb 22, 2013
The `bottom` that needs to be passed to bar or barh got lost kwarg got
lost in the histogram refactoring.
@tacaswell
Copy link
Member

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

This was referenced Feb 23, 2013
mdboom added a commit that referenced this issue Feb 25, 2013
@mdboom
Copy link
Member

mdboom commented Feb 25, 2013

Closed because #1775 is merged.

@dmcdougall
Copy link
Member

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants