Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

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

Merged
merged 1 commit into from
Feb 17, 2016

Conversation

tacaswell
Copy link
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
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
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
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
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