Skip to content

Commit 7b8abc9

Browse files
committed
Revert "TEMP: Add _repr_html_ for Colab widget display fix"
This reverts commit a183d52.
1 parent 4ec4af8 commit 7b8abc9

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

bigframes/dataframe.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -947,17 +947,6 @@ def _repr_mimebundle_(self, include=None, exclude=None):
947947

948948
return {"text/html": html_string, "text/plain": text_representation}
949949

950-
def _repr_html_(self):
951-
"""
952-
Renders the DataFrame as HTML.
953-
This method is used by IPython to display the DataFrame.
954-
"""
955-
# If in anywidget mode, return None to defer to _repr_mimebundle_
956-
# which will provide the richer anywidget representation.
957-
if bigframes.options.display.repr_mode == "anywidget":
958-
return None
959-
return self._repr_mimebundle_()["text/html"]
960-
961950
def _create_html_representation(
962951
self,
963952
pandas_df: pandas.DataFrame,

0 commit comments

Comments
 (0)