[IPython-dev] IDL/GDL kernel
Luke Stagner
lstagner at uci.edu
Fri Aug 1 18:36:46 EDT 2014
Thanks that did the trick.
-Luke
On 07/31/2014 03:55 PM, Thomas Kluyver wrote:
> On 30 July 2014 21:04, Luke Stagner <lstagner at uci.edu
> <mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140801/c7b560c0/attachment.html>
More information about the IPython-dev
mailing list