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

Method __init__

IPython/lib/display.py:307–310  ·  view source on GitHub ↗
(self, id, width=400, height=300, **kwargs)

Source from the content-addressed store, hash-verified

305 """
306
307 def __init__(self, id, width=400, height=300, **kwargs):
308 self.id=id
309 src = "https://www.youtube.com/embed/{0}".format(id)
310 super(YouTubeVideo, self).__init__(src, width, height, **kwargs)
311
312 def _repr_jpeg_(self):
313 # Deferred import

Callers

nothing calls this directly

Calls 2

formatMethod · 0.45
__init__Method · 0.45

Tested by

no test coverage detected