Skip to content

Bar demo2 improve #2327

Merged
merged 2 commits into from Aug 26, 2013

3 participants

@tacaswell
Matplotlib Developers 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

tacaswell added some commits Aug 21, 2013
@tacaswell tacaswell pep8 fixes adeb9e3
@tacaswell tacaswell made example clearer
 - use OO interface to set tick labels rather than pyplot
 - explicitly set ax2.ylim, rather than relying on auto-scale magic
6f9ce39
@NelleV
NelleV commented Aug 22, 2013

LGT% 👍 for merge

@mdboom mdboom merged commit ef613b8 into matplotlib:v1.3.x Aug 26, 2013

1 check passed

Details default The Travis CI build passed
@tacaswell tacaswell deleted the tacaswell:bar_demo2_improve branch Aug 27, 2013
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.