Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Trim Gouraud triangles that contain NaN#26767

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
greglucas merged 1 commit intomatplotlib:mainfromQuLogic:fix-gouraud-nan
Sep 14, 2023

Conversation

QuLogic
Copy link
Member

PR summary

Agg enters an infinite loop if you give it points that are NaN, due to converting the values to fixed-point integers, and then oscillating between the large values that result from that conversion.

NaN values may be introduced after transforming the input, so we need to trim those after transformation. This matches what is done in normal paths.

The test itself is mostly a smoketest to ensure we don't crash.

Closes#26765

PR checklist

Agg enters an infinite loop if you give it points that are NaN, due toconverting the values to fixed-point integers, and then oscillatingbetween the large values that result from that conversion.NaN values may be introduced after transforming the input, so we need totrim those after transformation. This matches what is done in normalpaths.
@greglucasgreglucas merged commit1b11a77 intomatplotlib:mainSep 14, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestSep 14, 2023
@QuLogicQuLogic deleted the fix-gouraud-nan branchSeptember 14, 2023 19:34
@ksundenksunden mentioned this pull requestSep 15, 2023
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ksundenksundenksunden approved these changes

@greglucasgreglucasgreglucas approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.8.0
Development

Successfully merging this pull request may close these issues.

[Bug]: Crash in Windows 10 if polar axis lim is lower than lowest data point.
3 participants
@QuLogic@ksunden@greglucas

[8]ページ先頭

©2009-2025 Movatter.jp