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

Fix CompositeGenericTransform.contains_branch_seperately#28486

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:composite-contains
Jun 29, 2024

Conversation

QuLogic
Copy link
Member

PR summary

Formerly, this fell back to the the super-class Transform implementation, which returnedTransform.contains_branch for both dimensions. This doesn't make sense for blended transforms, which have their own implementation that checks each side. However, italso doesn't make sense for composite transforms, because those may contain blended transforms themselves, so add a specific implementation for it.

Also fix type inconsistency forTransform.contains_branch_seperately.

This doesfix#28383, though since it has to reach into transform internals to do so might make one a bit wary.

PR checklist

Formerly, this fell back to the the super-class Transformimplementation, which returned `Transform.contains_branch` for bothdimensions. This doesn't make sense for blended transforms, which havetheir own implementation that checks each side. However, it _also_doesn't make sense for composite transforms, because those may containblended transforms themselves, so add a specific implementation for it.Also fix type inconsistency for `Transform.contains_branch_seperately`.
@greglucasgreglucas merged commit00cbd9c intomatplotlib:mainJun 29, 2024
47 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestJun 29, 2024
ksunden added a commit that referenced this pull requestJul 1, 2024
…486-on-v3.9.xBackport PR#28486 on branch v3.9.x (Fix CompositeGenericTransform.contains_branch_seperately)
@QuLogicQuLogic deleted the composite-contains branchJuly 2, 2024 22:27
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.9.1
Development

Successfully merging this pull request may close these issues.

[Bug]: axvspan no longer participating in limit calculations
3 participants
@QuLogic@ksunden@greglucas

[8]ページ先頭

©2009-2025 Movatter.jp