Skip to content

Commit

Permalink
ENH: let display.notebook_repr_html control HTML repr in qtconsole ag…
Browse files Browse the repository at this point in the history
…ain.

Where it belongs.

pandas-dev#2275 (comment)

It'll probably never happen that QTconsole will report it's width, let alone
in characters (variable-width font and all). Best let the user decide.
  • Loading branch information
y-p committed Apr 22, 2013
1 parent 7c59e57 commit 49f1bf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion RELEASE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ pandas 0.11.0
when invalid shapes are passed
- Don't suppress TypeError in GroupBy.agg (GH3238_)
- Methods return None when inplace=True (GH1893_)

- HTML repr output for dataframs is once again controlled by the option
`display.notebook_repr_html`, and on by default.
- ``HDFStore``

- added the method ``select_column`` to select a single column from a table as a Series.
Expand Down
2 changes: 0 additions & 2 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,8 +726,6 @@ def _repr_html_(self):
Return a html representation for a particular DataFrame.
Mainly for IPython notebook.
"""
if com.in_qtconsole():
raise ValueError('Disable HTML output in QtConsole')

if get_option("display.notebook_repr_html"):
fits_vertical = self._repr_fits_vertical_()
Expand Down

0 comments on commit 49f1bf7

Please sign in to comment.