Plot: fix str vs unicode bug