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

Clarify interaction between params of get_path_collection_extents.#26514

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
QuLogic merged 1 commit intomatplotlib:mainfromanntzer:gpced
Aug 18, 2023

Conversation

anntzer
Copy link
Contributor

That master_transform is ignored is clear looking at the implementation in _path.h (theif (Ntransforms) branch drops master_transform; compare with the implementation of point_in_path_collection). One can also compare

from matplotlib.path import *; from matplotlib.transforms import *get_path_collection_extents(    Affine2D().scale(2, 3), [Path([(1, 2), (3, 4)])],    [], [(0, 0)], IdentityTransform())get_path_collection_extents(    Affine2D().scale(2, 3), [Path([(1, 2), (3, 4)])],    [IdentityTransform()], [(0, 0)], IdentityTransform())

(We can discuss whether the behavior makes sense, especially as point_in_path_collection has the opposite behavior; it may be a bug, I'm just documenting the actual behavior.)

PR summary

PR checklist

That master_transform is ignored is clear looking at the implementationin _path.h (the `if (Ntransforms)` branch drops master_transform;compare with the implementation of point_in_path_collection).  One canalso compare```from matplotlib.path import *; from matplotlib.transforms import *get_path_collection_extents(    Affine2D().scale(2, 3), [Path([(1, 2), (3, 4)])],    [], [(0, 0)], IdentityTransform())get_path_collection_extents(    Affine2D().scale(2, 3), [Path([(1, 2), (3, 4)])],    [IdentityTransform()], [(0, 0)], IdentityTransform())```
@QuLogicQuLogic added this to thev3.8.0 milestoneAug 18, 2023
@QuLogicQuLogic merged commit3d2d072 intomatplotlib:mainAug 18, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestAug 18, 2023
@anntzeranntzer deleted the gpced branchAugust 18, 2023 10:39
ksunden added a commit that referenced this pull requestAug 18, 2023
…514-on-v3.8.xBackport PR#26514 on branch v3.8.x (Clarify interaction between params of get_path_collection_extents.)
@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

@QuLogicQuLogicQuLogic approved these changes

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

Successfully merging this pull request may close these issues.

2 participants
@anntzer@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp