Skip to content
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

backend_pgf: fix str/unicode comparison errors (v1.3.x) #2408

Merged
merged 1 commit into from Sep 10, 2013
Merged

backend_pgf: fix str/unicode comparison errors (v1.3.x) #2408

merged 1 commit into from Sep 10, 2013

Conversation

pwuertz
Copy link
Contributor

@pwuertz pwuertz commented Sep 10, 2013

When python 2.x starts mixing str and unicode instances, the string comparisons in backend_pgf.py will fail. Correct this problem by using the normal comparison operators.
(PR for v1.3.x)

pwuertz added a commit that referenced this pull request Sep 10, 2013
backend_pgf: fix str/unicode comparison errors (v1.3.x)
@pwuertz pwuertz merged commit 3d5a6bb into matplotlib:v1.3.x Sep 10, 2013
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.

None yet

1 participant