Skip to content

plotting._stringify not unicode safe #1685

@JoeGermuska

Description

@JoeGermuska

/Users/germuska/.virtualenvs/data/lib/python2.6/site-packages/pandas/tools/plotting.pyc in _stringify(x)
1073 return '|'.join(str(y) for y in x)
1074 else:
-> 1075 return str(x)
1076
1077

UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 1: ordinal not in range(128)

If labels can't be unicode, perhaps can a clearer error be thrown?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions