[IPython-dev] IDL/GDL kernel

Fernando Perez fperez.net at gmail.com
Thu Jul 31 19:08:14 EDT 2014

Do you think it's worth adding this to the base class as a utility

On Thu, Jul 31, 2014 at 3:55 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 30 July 2014 21:04, Luke Stagner <lstagner at uci.edu> wrote:
>> Good news no more error. Bad news still no inline plot. I even set it so
>> that it reads some random png I have every time and still no go.
> Sorry, I got the message structure wrong when I gave you an example
> without trying it. This time, here's an example that I have tested and
> ensured that it works:
> with open('foo.png', 'rb') as f:
>     import base64
>     imgdata = base64.b64encode(f.read())
> self.send_response(self.iopub_socket, 'display_data',
> {'data':{'image/png': imgdata.decode('ascii')}})
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140731/957b1725/attachment.html>

More information about the IPython-dev mailing list