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

DataFrame_repr_html changes according to #772 discussion. #829

Merged
merged 1 commit into from
Feb 27, 2012

Conversation

lodagro
Copy link
Contributor

@lodagro lodagro commented Feb 24, 2012

cc @ellisonbg

Implemented changes as discussed in #772.
Not so crazy on the scrollable div. For now i left the div max sizes as they were, could use suggestion on good values.

I don't use the notebook often, what i noticed just now is that in combination with the IPython notebook get_terminal_size() returns the size of the terminal where the notebook was launched, not the size of the notebook display area. Don't know if there is a way to get the notebook size.

@takluyver
Copy link
Contributor

I'm pretty sure we haven't implemented any way to get the notebook size - in any case, the window can always be resized later, or the notebook could be reopened on another screen.

@wesm
Copy link
Member

wesm commented Feb 25, 2012

@lodagro can you add an option to set_printoptions in the print configuration that will disable the HTML output (and any other notebook-enhanced reprs, eventually)? It may be as simple as raising an exception

@lodagro
Copy link
Contributor Author

lodagro commented Feb 25, 2012

By default notebook will use html repr, but you can do set_printoptions(notebook_html_repr=False) to revert back to plain text repr in the notebook (available in this pull request).

@wesm
Copy link
Member

wesm commented Feb 25, 2012

Oh cool, you are way ahead of me. thanks

lodagro added a commit that referenced this pull request Feb 27, 2012
DataFrame_repr_html changes according to #772 discussion.
@lodagro lodagro merged commit e873a2e into pandas-dev:master Feb 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants