SimpleTable: add repr html for ipython notebook #1555

Closed
josef-pkt opened this Issue Apr 4, 2014 · 2 comments

Projects

None yet

1 participant

@josef-pkt
Member

summary() can be displayed as html in an ipython notebook, but not a SimpleTable itself

@josef-pkt
Member

this works for tukeyhsd (based on ipython docs, nothing fancy)

from IPython.display import HTML
s = res2s_001.summary().as_html()
h = HTML(s); h
@josef-pkt josef-pkt added this to the 0.7 milestone Aug 22, 2014
@josef-pkt
Member

Same problem for the t_test summary() which returns a SimpleTable

Summary class has

def _repr_html_(self):
        '''Display as HTML in IPython notebook.'''
        return self.as_html()
@josef-pkt josef-pkt modified the milestone: 0.7, 0.6 Aug 22, 2014
@jseabold jseabold closed this in d6369d0 Sep 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment