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

BUG : fix #3805 #3808

Merged
merged 2 commits into from Nov 16, 2014
Merged

BUG : fix #3805 #3808

merged 2 commits into from Nov 16, 2014

Conversation

tacaswell
Copy link
Member

Enusure that norm.v{min,max} are not None before expanding
them to ensure that 0 < vmax-vmin.

Enusure that norm.v{min,max} are not `None` before expanding
them to ensure that 0 < vmax-vmin.
@tacaswell tacaswell added this to the v1.4.3 milestone Nov 16, 2014
@efiring
Copy link
Member

efiring commented Nov 16, 2014

You beat me to it! That's the fix; does it need a test?

@tacaswell
Copy link
Member Author

writing it right now,

@jenshnielsen
Copy link
Member

Looks good to me apart from the pep8 issue on Travis in the test. (I am not sure that pep8 on the tests makes that much sense but I guess it is easy to fix in this case)

@tacaswell
Copy link
Member Author

fixed + force pushed.

Sorry had my editor configured wrong.

efiring added a commit that referenced this pull request Nov 16, 2014
@efiring efiring merged commit 91db612 into matplotlib:master Nov 16, 2014
@tacaswell tacaswell deleted the colorbar_norm_bug branch November 16, 2014 21:03
@jenshnielsen
Copy link
Member

Should this be backported?

efiring added a commit that referenced this pull request Nov 16, 2014
@tacaswell
Copy link
Member Author

back-ported as 7ba2c2a

Good catch! I actually made the change against 1.4.2, but targeted the PR against the wrong branch.....

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

4 participants