Skip to content

Commit a1d2872

Browse files
committed
Update DataFrame's _repr_html_, fix pandas-dev#10231
1 parent b144cc1 commit a1d2872

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/frame.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -538,8 +538,7 @@ def _repr_html_(self):
538538
max_cols = get_option("display.max_columns")
539539
show_dimensions = get_option("display.show_dimensions")
540540

541-
return ('<div style="max-height:1000px;'
542-
'max-width:1500px;overflow:auto;">\n' +
541+
return ('<div>\n' +
543542
self.to_html(max_rows=max_rows, max_cols=max_cols,
544543
show_dimensions=show_dimensions) + '\n</div>')
545544
else:

0 commit comments

Comments
 (0)