MCPcopy Create free account
hub / github.com/ipython/ipython / _repr_png_

Method _repr_png_

IPython/utils/capture.py:52–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 return self._repr_mime_("application/javascript")
51
52 def _repr_png_(self):
53 return self._repr_mime_("image/png")
54
55 def _repr_jpeg_(self):
56 return self._repr_mime_("image/jpeg")

Callers 1

test_rich_outputFunction · 0.95

Calls 1

_repr_mime_Method · 0.95

Tested by 1

test_rich_outputFunction · 0.76