Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Legend tuple handler improve #5617
Conversation
tacaswell
added the
needs_review
label
Dec 4, 2015
|
Eh, sry, I screwed up with the initial push. Hopefully it's okay now. |
tacaswell
added this to the
proposed next point release (2.1)
milestone
Dec 4, 2015
|
attn @mdboom re question about freetype. |
|
To create consistent text output, you need to set |
|
@QuLogic is exactly right about freetype here. This is new since 1.5.x, so is documented in the "devdocs", not the default doc version, here: http://matplotlib.org/devdocs/devel/testing.html#building-matplotlib-for-image-comparison-tests |
|
Okay, I've recreated the test with the built-in FreeType version. |
|
'power cycling' this PR to make it rebuild against current master. |
tacaswell
closed this
Feb 15, 2016
tacaswell
reopened this
Feb 15, 2016
tacaswell
added needs_review and removed needs_review
labels
Feb 15, 2016
leejjoon
and others
added some commits
May 18, 2013
|
Rebased. Last time a Python 2.7 test failed that seemed unrelated to me (matplotlib.tests.test_mathtext.test_mathfont_stix_07.test). Let's see if that is still the case. |
tacaswell
and 1 other
commented on an outdated diff
Mar 19, 2016
| @@ -565,9 +568,29 @@ def create_artists(self, legend, orig_handle, | ||
| class HandlerTuple(HandlerBase): | ||
| """ | ||
| - Handler for Tuple | ||
| + Handler for Tuple. | ||
| + | ||
| + Additional kwargs are passed through to `HandlerBase`. | ||
| + | ||
| + Parameters | ||
| + ---------- | ||
| + | ||
| + ndivide : int, optional | ||
| + The number of sections to divide the legend area into. If 0, |
|
|
|
I think this needs a whats_new entry? |
|
I put a description in Edit: sry, I was in a hurry. What I meant to say: @WeatherGod did you notice the description in If not, is that what you had in mind? |
|
@three-comrades Yes, that looks sufficient to me. |
|
|
WeatherGod
added a commit
that referenced
this pull request
Mar 19, 2016
|
|
WeatherGod |
4230879
|
three-comrades commentedDec 4, 2015
Continuation of #2904 and #2034.
Rebased, added some more documentation and adapted the example a bit.
I'm not sure how to ceate the test image. I created it on Ubuntu 14.04. which uses version 2.5.2 of the Freetype library - do I need to compile+install 2.5.3, or even the exact, possibly patched Fedora version that was used to create the rest of the images?