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

Fix for issue #2872. Skip NaN's in draw_path_collection. #2875

Merged
merged 1 commit into from Mar 11, 2014

Conversation

mdehoon
Copy link
Contributor

@mdehoon mdehoon commented Mar 7, 2014

See issue #2872. In case of missing values (e.g., zeros when using a logarithmic scale), draw_path_collection may get offsets containing NaN's. In that case, using CGContextTranslateCTM once with translation and once with -translation will not restore the original CTM. This bugfix adds a check for NaN/inf.

… when using a logarithmic scale), draw_path_collection may get offsets containing NaN's. In that case, using CGContextTranslateCTM once with translation and once with -translation will not restore the original CTM. This bugfix adds a check for NaN/inf.
@tacaswell
Copy link
Member

Should this have been targeted at 1.3.x?

@efiring
Copy link
Member

efiring commented Mar 7, 2014

I'm not convinced it is worth bothering with more 1.3.x fixes now, and this is a fairly obscure bug.

@mdehoon
Copy link
Contributor Author

mdehoon commented Mar 8, 2014

No this is targeted at master. The bug doesn't manifest itself there, but it's still there. We should fix it now so it won't bite us later.

tacaswell added a commit that referenced this pull request Mar 11, 2014
Fix for issue #2872. Skip NaN's in draw_path_collection.
@tacaswell tacaswell merged commit 3563cb5 into matplotlib:master Mar 11, 2014
@mdehoon mdehoon deleted the issue2872bugfix branch April 18, 2015 02:23
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