[IPython-dev] IPython, Python 3.x, pyout, data

Dino Viehland dinov@microsoft....
Mon Mar 11 13:55:04 CDT 2013

Quick question on the data in pyout on Python 3.x.  It appears that when I get image/png data coming from matplotlib that the value is a string.  I can successfully encode the data with utf8 and then apply the base 64 decoding to it.

I'm just surprised this isn't already in bytes on Python 3.x, is there a reason why it's a Unicode string?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130311/4e5814ed/attachment.html 

More information about the IPython-dev mailing list