X Tutup
Skip to content

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

Merged
efiring merged 1 commit intomatplotlib:masterfrom
tacaswell:fix_empty_strings
Feb 17, 2016
Merged

FIX: do not short-cut all white-space strings#6005
efiring merged 1 commit intomatplotlib:masterfrom
tacaswell:fix_empty_strings

Conversation

@tacaswell
Copy link
Copy Markdown
Member

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

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 matplotlib#2698
@tacaswell tacaswell added this to the 1.5.2 (Critical bug fix release) milestone Feb 15, 2016
@efiring
Copy link
Copy Markdown
Member

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)

@tacaswell
Copy link
Copy Markdown
Member Author

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

efiring added a commit that referenced this pull request Feb 17, 2016
FIX: do not short-cut all white-space strings
@efiring efiring merged commit f2cccf8 into matplotlib:master Feb 17, 2016
@jenshnielsen
Copy link
Copy Markdown
Member

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

@tacaswell tacaswell deleted the fix_empty_strings branch February 17, 2016 12:13
@efiring
Copy link
Copy Markdown
Member

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup