E52B Fix for issue #2872. Skip NaN's in draw_path_collection. by mdehoon · Pull Request #2875 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

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.

91AE

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.

3 participants

0