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

Aaron Meurer asmeurer@gmail....
Mon Sep 2 11:47:53 CDT 2013


It would be useful if pandas data frames displayed objects with custom
display formatters in the HTML table. This has come up in other situations
as well. See http://stackoverflow.com/q/18503351/161801

Aaron Meurer

On Sep 2, 2013, at 9:18 AM, Francesco Montesano <franz.bergesund@gmail.com>
wrote:

Dear Stefan,

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.

Fra


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

> On Mon, Sep 2, 2013 at 3:32 PM, Francesco Montesano
> <franz.bergesund@gmail.com> wrote:
> > For comparison reasons, I would like to load to images in a cell and show
> > them side by side.
>
> Perhaps something like this:
>
>
> http://nbviewer.ipython.org/urls/gist.github.com/stefanv/5013257/raw/5a5271a65371e87cced2182025df2d03751b780b/side_by_side.ipynb
>
> Stéfan
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>

_______________________________________________
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/4ca05956/attachment.html 


More information about the IPython-dev mailing list