Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleTable: add repr html for ipython notebook #1555

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

Comments

Projects
None yet
1 participant
@josef-pkt
Copy link
Member

commented Apr 4, 2014

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

@josef-pkt

This comment has been minimized.

Copy link
Member Author

commented Apr 4, 2014

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

This comment has been minimized.

Copy link
Member Author

commented Aug 22, 2014

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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.