-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enables hatch alpha on SVG #16890
Conversation
Partially addresses matplotlib#16883 Adds `stroke-opacity` to hatch, but only if it's set to anything less than 1.
Turns out that the test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ci passes.
There was a problem hiding this 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 :)
Hmm, this is erroring because it runs over the Azure Pipelines 60 min limit. |
There was a problem hiding this 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.
There. Let me know if you think the what'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). |
Thanks @mnmelo! |
PR Summary
Partially addresses #16883
Adds
stroke-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