8000 Rcparam validation fix by tacaswell · Pull Request #3564 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Rcparam validation fix #3564

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 19 commits into from
Oct 14, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
MNT : make sure to cast to unicode
  • Loading branch information
tacaswell committed Sep 25, 2014
commit 5c9ccf09d4b341c4be647d773372dac93bb1f47f
2 changes: 1 addition & 1 deletion lib/matplotlib/rcsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def validate_colorlist(s):
def validate_stringlist(s):
'return a list'
if isinstance(s, six.string_types):
return [v.strip() for v in s.split(',')]
return [six.text_type(v.strip()) for v in s.split(',')]
else:
assert type(s) in [list, tuple]
return [six.text_type(v) for v in s]
Expand Down
0