[IPython-dev] HTML pandas issue (followup of twitter question)

Adam Hughes hughesadam87 at gmail.com
Tue Jul 29 15:03:15 EDT 2014


AHHHHHHHHH I FORGOT THE TRAILING UNDERSCORE!!!!!!!!

Thanks Thomas.  My life is complete now.


On Tue, Jul 29, 2014 at 2:32 PM, Thomas Kluyver <takowl at gmail.com> wrote:

> On 29 July 2014 11:28, Adam Hughes <hughesadam87 at gmail.com> wrote:
>
>> The only print method that myobject specifically overloads is:
>>
>>     def __repr__(self):
>>
>
> Didn't you say you also define _repr_html_()? It's the presence of
> _repr_html_() on your object that lets IPython give it the HTML display.
>
> 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/20140729/d3bf65c1/attachment.html>


More information about the IPython-dev mailing list