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

Enables hatch alpha on SVG#16890

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 3 commits intomatplotlib:masterfrommnmelo:patch-1
Mar 24, 2020
Merged

Enables hatch alpha on SVG#16890

QuLogic merged 3 commits intomatplotlib:masterfrommnmelo:patch-1
Mar 24, 2020

Conversation

mnmelo
Copy link
Contributor

@mnmelomnmelo commentedMar 23, 2020
edited
Loading

PR Summary

Partially addresses#16883

Addsstroke-opacity to hatch, but only if it's set to anything less than 1.

Unsure if it warrants a new figure for test comparison (svgs are small, though). Alternatively, could be tested against the PNG output, which is correct now (but may miss future simultaneous breakage).

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

Partially addressesmatplotlib#16883 Adds `stroke-opacity` to hatch, but only if it's set to anything less than 1.
@mnmelo
Copy link
ContributorAuthor

Turns out that the testtest_artist.py::test_clipping[svg] already used an image with a hatched patch, with alpha. Updated that image, and now it checks for the case in this PR too.

@anntzeranntzer added this to thev3.3.0 milestoneMar 23, 2020
Copy link
Contributor

@anntzeranntzer left a comment

Choose a reason for hiding this comment

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

if ci passes.

Copy link
Member

@tacaswelltacaswell left a comment

Choose a reason for hiding this comment

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

Might be worth adding a whats new entry.

👍 that we already had a test that exercised this so we don't have to add a new test :)

@mnmelo
Copy link
ContributorAuthor

Hmm, this is erroring because it runs over the Azure Pipelines 60 min limit.
What's the procedure now?

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.

If you add the what's new entry and push, then there's no need to worry about the broken build.

@mnmelo
Copy link
ContributorAuthor

There. Let me know if you think thewhat's new should read differently (there really isn't much to say other than hatch alpha now works in SVG). Perhaps noteworthy is that SVG now seems to be the only vector output backed that can do the hatch alpha (I'm not entirely sure, though).

@QuLogic
Copy link
Member

Thanks@mnmelo!

@QuLogicQuLogic merged commitdb55918 intomatplotlib:masterMar 24, 2020
@mnmelomnmelo deleted the patch-1 branchMarch 24, 2020 06:36
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@QuLogicQuLogicQuLogic left review comments

@tacaswelltacaswelltacaswell approved these changes

@anntzeranntzeranntzer approved these changes

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

Successfully merging this pull request may close these issues.

4 participants
@mnmelo@QuLogic@tacaswell@anntzer

[8]ページ先頭

©2009-2025 Movatter.jp