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. |
dopplershift
left a comment
There was a problem hiding this comment.
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.