We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9219433 commit 94b7b94Copy full SHA for 94b7b94
pandas/core/frame.py
@@ -748,6 +748,12 @@ def _repr_html_(self):
748
# then to get a summary view. GH3541, GH3573
749
ipnbh = com.in_ipnb() and get_option('display.notebook_repr_html')
750
751
+ # qtconsole doesn't report it's line width, and also
752
+ # behaves badly when outputting an HTML table
753
+ # that doesn't fit the window, so disable it.
754
+ if com.in_qtconsole():
755
+ raise ValueError('Disable HTML output in QtConsole')
756
+
757
if get_option("display.notebook_repr_html"):
758
fits_vertical = self._repr_fits_vertical_()
759
fits_horizontal = False
0 commit comments