From 30a552b963297deb13a33204318da47e6beb718c Mon Sep 17 00:00:00 2001 From: Wouter Overmeire Date: Thu, 25 Oct 2012 18:37:46 +0200 Subject: [PATCH] BUG: fix unicode handling in plot label, close #2080 --- pandas/tools/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tools/plotting.py b/pandas/tools/plotting.py index 34754a23ba5b4..caa685340c0e5 100644 --- a/pandas/tools/plotting.py +++ b/pandas/tools/plotting.py @@ -902,7 +902,7 @@ def _maybe_add_color(kwargs, style, i): _maybe_add_color(kwds, style, i) - label = com.pprint_thing(label).encode('utf-8') + label = com.pprint_thing(label) mask = com.isnull(y) if mask.any():