-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Nan issue #4235
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
Nan issue #4235
Conversation
👍 |
x = x + posx | ||
y = y + posy | ||
if renderer.flipy(): | ||
y = canvash - y | ||
if not np.isfinite(x) or not np.isfinite(y): | ||
continue | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whitespace in this line
You have trailing whitespace in two of the blank lines which is what is making travis fail. |
👍 |
Hmm... if the mathtext points contain non-finite values, I'd consider that a bug in the mathtext renderer. |
x = x + posx | ||
y = y + posy | ||
if renderer.flipy(): | ||
y = canvash - y | ||
if not np.isfinite(x) or not np.isfinite(y): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move this check up to just after line 610?
@ffteja Can you make the requested change? |
It looks like this is functionally ready to go. It would be nice to have it squashed down to a single commit. A test would also be nice, if a simple one can be constructed. |
This needs a re-base (due to the text wrapping PR). I am not sure we want to promote this to an exception rather than just not drawing. |
@ffteja Can you rebase this? |
PR for issue #4066