Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG : fix cla behavior with twinx #3634

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

Merged
merged 1 commit into from
Jan 27, 2015
Merged

Conversation

tacaswell
Copy link
Member

Closes #3633

Added more special-case logic for twined axes.

This needs a test.

I am not a huge fan of this solution, but it might be the minimal change.

@efiring
Copy link
Member

efiring commented Oct 11, 2014

This will affect all shared axes, not just the twinned version, correct?

@tacaswell
Copy link
Member Author

Yes, but hopefully grabbing the pre-clearing visibility of the patch and axis objects will make this ok.

@tacaswell tacaswell modified the milestones: v1.4.x, v1.4.2 Oct 11, 2014
@efiring
Copy link
Member

efiring commented Jan 24, 2015

This looks OK as a minimal bug fix. It's hard to read that very long cla() without wanting to do some refactoring, commenting, etc., but that will have to wait. If you add the test, I will merge this.

Closes matplotlib#3633

Added more special-case logic for twined axes.
@tacaswell
Copy link
Member Author

@efiring added test and fixed a transposition bug in the original bug fix.

It's all collapsed down to one commit and force-pushed.

efiring added a commit that referenced this pull request Jan 27, 2015
BUG : fix cla behavior with twinx
@efiring efiring merged commit b8a5f91 into matplotlib:v1.4.x Jan 27, 2015
@tacaswell tacaswell deleted the cla_fix branch January 27, 2015 05:26
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.

2 participants