Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 495207525
  • Loading branch information
craigcitro authored and colaboratory-team committed Feb 8, 2024
1 parent 44fda6d commit b83f4b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions google/colab/_inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

from IPython.core import oinspect
from IPython.utils import dir2
import matplotlib.pyplot as plt

# We also iterate over dicts, but the logic differs slightly (due to compound
# entries), so they don't appear in this mapping.
Expand Down Expand Up @@ -372,9 +373,6 @@ def _series_rich_repr(obj, depth=0):
Returns:
A (potentially abbreviated) string representation for obj.
"""
# Importing matplotlib.pyplot here because of b/261900852
import matplotlib.pyplot as plt # pylint:disable=g-import-not-at-top

width_figure = 4
height_figure = 1
shape = getattr(obj, 'shape', None)
Expand Down

0 comments on commit b83f4b4

Please sign in to comment.