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

Function display_javascript

IPython/core/display.py:538–552  ·  view source on GitHub ↗

Display the Javascript representation of an object. Parameters ---------- objs : tuple of objects The Python objects to display, or if raw=True raw javascript data to display. raw : bool Are the data objects raw data or Python objects that need to be

(*objs, **kwargs)

Source from the content-addressed store, hash-verified

536
537
538def display_javascript(*objs, **kwargs):
539 """Display the Javascript representation of an object.
540
541 Parameters
542 ----------
543 objs : tuple of objects
544 The Python objects to display, or if raw=True raw javascript data to
545 display.
546 raw : bool
547 Are the data objects raw data or Python objects that need to be
548 formatted before display? [default: False]
549 metadata : dict (optional)
550 Metadata to be associated with the specific mimetype output.
551 """
552 _display_mimetype('application/javascript', objs, **kwargs)
553
554
555def display_pdf(*objs, **kwargs):

Callers

nothing calls this directly

Calls 1

_display_mimetypeFunction · 0.85

Tested by

no test coverage detected