[IPython-dev] IDL/GDL kernel

Luke Stagner lstagner at uci.edu
Wed Jul 30 23:27:28 EDT 2014

Hmm, that didn't seem to work. I now get the following error 
with the following revision 
I must be doing something wrong.


On 07/30/2014 07:30 PM, Thomas Kluyver wrote:
> On 30 July 2014 18:32, Luke Stagner <lstagner at uci.edu 
> <mailto:lstagner at uci.edu>> wrote:
>     I have done what you have suggested and I verified that it is
>     producing
>     the .png files. If I were to hazard a guess I would say that
>     publish_display_data is not connecting to the notebook.
> Ah, digging into the code, you're right. publish_display_data depends 
> on the IPython shell machinery, which is not being spun up for 
> non-IPython kernels.
> You should be able to do it like this:
> self.send_response(self.iopub_socket, 'display_data', {'image/png': data})
> Thomas
> _______________________________________________
> 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/20140730/56b6d4eb/attachment.html>

More information about the IPython-dev mailing list