-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Make hatch colour an rcParam. #7415
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
Conversation
You could add a test based on a simplified version of the example in #7166, so that the legend would be tested. |
I added a test based on @dopplershift's shortened test in #7166, which I think basically covers the path hit by legends. Interestingly, it isn't broken in PDF or SVG because they determine the colour in some other way somehow. In fact, there's even a test |
Hmm, just realized the PDF is broken when using |
On closer inspection, that may be a bug in evince, as it appears fine in pdf.js, inkscape and convert/imagemagick. |
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.
This looks good to me (given that this follows the stuff for hatching line width).
This turned out easier than I expected because I just had to follow the same work as #6198. As with
hatch.linewidth
, there is no API to do this, only the rcParam.Not sure if I should add an explicit test, some other tests kind of implicitly test this stuff (as seen from the updated images.)
Fixes #7166. Also, partially implements #7059.