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 issue with sketch not working on PathCollection in Agg#25645

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:mainfromoscargus:aggsketchcollection
Sep 26, 2024

Conversation

oscargus
Copy link
Member

@oscargusoscargus commentedApr 7, 2023
edited
Loading

PR Summary

Closes#19693

Seems like sketch was not handled at all for path collections.

Maybe not the nicest code, but my C/C++ is not that good.

If I understand it correctly, sketch isn't really tested (as it is hard to recreate the images?)?

Here is the output anyway:

csketch

PR Checklist

Documentation and Tests

  • Has pytest style unit tests (andpytest passes)
  • Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).
  • New plotting related features are documented with examples.

Release Notes

  • New features are marked with a.. versionadded:: directive in the docstring and documented indoc/users/next_whats_new/
  • API changes are marked with a.. versionchanged:: directive in the docstring and documented indoc/api/next_api_changes/
  • Release notes conform with instructions innext_whats_new/README.rst ornext_api_changes/README.rst

@oscargusoscargus added this to thev3.8.0 milestoneApr 7, 2023
@story645
Copy link
Member

Can you try an image test? I think they're recreatable if you use a fixed seed?

@oscargus
Copy link
MemberAuthor

We can only control the seed for data generation in NumPy, not the seed for the C++-part.

However, there is#13479 which is related.

@story645
Copy link
Member

yeah, I agree with Jody that#13479 (comment) is the correct solution (and also probably out of scope here)

@oscargus
Copy link
MemberAuthor

I've realized that sketching is in general not tested that well (if at all). However, although the result is (probably) deterministic at the moment, I think that it is better to add tests as part of implementing seeding.

@story645story645 mentioned this pull requestJul 11, 2023
6 tasks
@ksundenksunden modified the milestones:v3.8.0,v3.9.0Aug 8, 2023
@oscargusoscargus mentioned this pull requestNov 13, 2023
1 task
@QuLogicQuLogic modified the milestones:v3.9.0,v3.10.0Apr 3, 2024
Copy link
Member

@QuLogicQuLogic left a comment

Choose a reason for hiding this comment

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

This looks reasonable, but I guess it needs rebase to refresh CI?

@timhoffm
Copy link
Member

@oscargus please rebase

oscargus reacted with thumbs up emoji

@oscargus
Copy link
MemberAuthor

@oscargus please rebase

Will sort it out over the weekend.

timhoffm and story645 reacted with thumbs up emoji

@oscargus
Copy link
MemberAuthor

No conflicts during rebase (but apparently a very long/short weekend...).

@QuLogicQuLogic merged commit49eeefc intomatplotlib:mainSep 26, 2024
48 of 49 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

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

Successfully merging this pull request may close these issues.

path.sketch doesn't apply to PolyCollection
5 participants
@oscargus@story645@timhoffm@QuLogic@ksunden

[8]ページ先頭

©2009-2025 Movatter.jp