[IPython-dev] [Notebook 1.0.0] Display two png images side by side

Francesco Montesano franz.bergesund@gmail....
Mon Sep 2 15:31:54 CDT 2013

Dear Stefan,

thank you very much for the example. This should work wonderfully for
python 2.x., but, as Zoltan pointed out, it won't work on python 3.x, as
you can't concatenate string and bytes objects (returned by base64 methods).
I've sent some time to search for something that convert a b'...' object
into a string, but I'm not sure that I've found anything and I doubt that
it would work.


2013/9/2 Stéfan van der Walt <stefan@sun.ac.za>

> On Mon, Sep 2, 2013 at 5:18 PM, Francesco Montesano
> <franz.bergesund@gmail.com> wrote:
> > thanks but I wouldn't know how to use it.
> > 'Image' object have a _repr_html_ that returns nothing. The png is
> stored in
> > data or returned by _repr_png_.
> > And I don't see how that would help.
> Here's a full example:
> http://nbviewer.ipython.org/urls/gist.github.com/stefanv/6416926/raw/96978d6ad6991c26ccce995327b1adb6aceeeb6e/side_by_side.ipynb
> Stéfan
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20130902/42ca902f/attachment.html 

More information about the IPython-dev mailing list