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

Bar demo2 improve #2327

Merged
merged 2 commits into from Aug 26, 2013
Merged

Bar demo2 improve #2327

merged 2 commits into from Aug 26, 2013

Conversation

tacaswell
Copy link
Member

Prompted by this: http://stackoverflow.com/questions/18369798/how-to-get-ticks-on-both-sides-at-same-tick-locations/18371449#18371449

The demo looks like it relies on some auto-range magic to work correctly. Made more fool-proof.

Not sure if this should go against 1.3.x or master, targeted 1.3.x because (I think) it is easier to move the other way.

Also include pep8 clean-up

 - use OO interface to set tick labels rather than pyplot
 - explicitly set ax2.ylim, rather than relying on auto-scale magic
@NelleV
Copy link
Member

NelleV commented Aug 22, 2013

LGT% 👍 for merge

mdboom added a commit that referenced this pull request Aug 26, 2013
@mdboom mdboom merged commit ef613b8 into matplotlib:v1.3.x Aug 26, 2013
@tacaswell tacaswell deleted the bar_demo2_improve branch August 27, 2013 20:11
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

Successfully merging this pull request may close these issues.

None yet

3 participants