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

Disable clipping in Agg resamplers.#28122

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:mainfromanntzer:aggunclip
Jul 22, 2024

Conversation

anntzer
Copy link
Contributor

I chose to add macro guards directly in the agg source as that seemed easier than copy-pasting the whole code.

I chose to bump the tolerance on test_rgba_antialias (as that's also getting bumped by the interpolation_stage antialias PR) and to test_pngsuite (which is not particularly relevant), and to update the other baselines.

PR summary

PR checklist

@greglucas
Copy link
Contributor

Wow, this looks like a really nice simplification and should fix some of the high dynamic range issues where we ran into problems around the 0.1/0.9 floating point representation creating incorrect under/over values.

Is this waiting on#28061 ?

@anntzer
Copy link
ContributorAuthor

Apologies for the slow reply, I have basically no time to work on this these days (just a temporary thing).
I think this is actually fairly independent of#28061 (the rebase seems to work directly except for the fact that both PRs bump the tolerance on the same test), so they can probably(?) be merged in either order, except perhaps(?) if one wants to optimize baseline image weight in the git history?
If#28061 gets merged first, feel free to push a rebase of this PR to get it in if I don't do it quickly.

@timhoffm
Copy link
Member

TBH, I've not followed the relation with#28061, so I'm not clear whether we can just merge or whether we should wait. The change itself is good to go.

Copy link
Member

@jklymakjklymak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think this is likely correct and certainly doesn't need to wait on#28061. But maybe@tacaswell should weigh in as the previous method was his.

I chose to add macro guards directly in the agg source as that seemedeasier than copy-pasting the whole code.I chose to bump the tolerance on test_rgba_antialias (as that'salso getting bumped by the interpolation_stage antialias PR) and totest_pngsuite (which is not particularly relevant), and to update theother baselines.
@greglucasgreglucas merged commit24c3f1a intomatplotlib:mainJul 22, 2024
39 of 41 checks passed
@anntzeranntzer deleted the aggunclip branchJuly 22, 2024 17:13
@tacaswell
Copy link
Member

Thank you for getting this done!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jklymakjklymakjklymak left review comments

@timhoffmtimhoffmtimhoffm approved these changes

@greglucasgreglucasgreglucas approved these changes

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

Successfully merging this pull request may close these issues.

5 participants
@anntzer@greglucas@timhoffm@tacaswell@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp