From 3354aef10364d6671a4637c1bb6d942f846cf251 Mon Sep 17 00:00:00 2001 From: Craig Citro Date: Tue, 12 Sep 2023 16:10:01 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 564862167 --- google/colab/output/_tags.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/google/colab/output/_tags.py b/google/colab/output/_tags.py index a1147579..af8e6bdf 100644 --- a/google/colab/output/_tags.py +++ b/google/colab/output/_tags.py @@ -45,10 +45,7 @@ def _add_or_remove_tags(tags_to_add=(), tags_to_remove=()): } if ipython.in_ipython(): - if IPython.version_info[0] > 2: - display.publish_display_data({}, metadata=metadata) - else: - display.publish_display_data('display', {}, metadata=metadata) + display.publish_display_data({}, metadata=metadata) return output_tags