FIX: do not short-cut all white-space strings #6005

Merged
merged 1 commit into from Feb 17, 2016

Conversation

Projects
None yet
3 participants
Owner

tacaswell commented Feb 15, 2016

When drawing text, assume that all user input is valid input and do not
consider an all white space string to be equivalent to an empty string.

Closes #2698

@tacaswell tacaswell FIX: do not short-cut all white-space strings
When drawing text, assume that all user input is valid input and do not
consider an all white space string to be equivalent to an empty string.

Closes #2698
6ea1d73
Owner

efiring commented Feb 15, 2016

Odd test failure, only on 2.7:

ImageComparisonFailure: images not close: /home/travis/build/matplotlib/matplotlib/result_images/test_collections/EventCollection_plot__set_lineoffset_svg.png vs. /home/travis/build/matplotlib/matplotlib/result_images/test_collections/EventCollection_plot__set_lineoffset-expected_svg.png (RMS 0.080)

Owner

tacaswell commented Feb 17, 2016

@efiring I could not reproduce locally and restarting the test seems to have fixed it.

@efiring efiring added a commit that referenced this pull request Feb 17, 2016

@efiring efiring Merge pull request #6005 from tacaswell/fix_empty_strings
FIX: do not short-cut all white-space strings
f2cccf8

@efiring efiring merged commit f2cccf8 into matplotlib:master Feb 17, 2016

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

efiring removed the needs_review label Feb 17, 2016

Owner

jenshnielsen commented Feb 17, 2016

The intermittent failure happened on master again https://travis-ci.org/matplotlib/matplotlib/builds/109789572

tacaswell deleted the tacaswell:fix_empty_strings branch Feb 17, 2016

Owner

efiring commented Feb 17, 2016

Again, it is showing up only in svg and on 2.7. It's hard to see how it could be related to this change--or to anything else, for that matter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment