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

Addset_offset3d andget_offset3d methods to 3D Collections#27556

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

Draft
scottshambaugh wants to merge8 commits intomatplotlib:main
base:main
Choose a base branch
Loading
fromscottshambaugh:set_offsets_3d

Conversation

scottshambaugh
Copy link
Contributor

@scottshambaughscottshambaugh commentedDec 21, 2023
edited
Loading

PR summary

Addresses#784 in part

More discussion in#19573

Note that the inheritedCollection.set_offset andCollection.get_offset methods with 2D coordinates are used in zordering calculations and I couldn't see an easy way to abstract those out in order to override those methods and keep the same names as the 2D case.

PR checklist

@scottshambaugh
Copy link
ContributorAuthor

scottshambaugh commentedJan 11, 2024
edited
Loading

Only test failure is codecov, but these are fairly well covered and should be fine.

@scottshambaughscottshambaugh added this to thev3.9.0 milestoneMar 1, 2024
Copy link
Member

@timhoffmtimhoffm left a comment

Choose a reason for hiding this comment

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

Minor style fixes / improvements.

@timhoffm
Copy link
Member

I took the liberty to create a commit with the style fixes.

@timhoffm
Copy link
Member

timhoffm commentedMar 11, 2024
edited
Loading

Could you add a simple test? I think just manipulating the values and reading them back to assert that you get the new offesets is sufficient. Or, if you want to be a bit more fancy make an image comparison test where you create a collection infig_test withoffests_0 and thenset_offsets3d(offsets_1) and compare that tofig_ref with directly setoffsets_1. This could also be amended withzdir.

@scottshambaughscottshambaugh marked this pull request as draftMarch 12, 2024 23:01
@scottshambaughscottshambaugh removed this from thev3.9.0 milestoneMar 12, 2024
@scottshambaugh
Copy link
ContributorAuthor

Moving back to draft since I need to dig more into what Poly3DCollection is doing

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

@timhoffmtimhoffmtimhoffm left review comments

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@scottshambaugh@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp