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

Function display_html

IPython/core/display.py:413–430  ·  view source on GitHub ↗

Display the HTML representation of an object. Note: If raw=False and the object does not have a HTML representation, no HTML will be shown. Parameters ---------- objs : tuple of objects The Python objects to display, or if raw=True raw HTML data to display.

(*objs, **kwargs)

Source from the content-addressed store, hash-verified

411
412
413def display_html(*objs, **kwargs):
414 """Display the HTML representation of an object.
415
416 Note: If raw=False and the object does not have a HTML
417 representation, no HTML will be shown.
418
419 Parameters
420 ----------
421 objs : tuple of objects
422 The Python objects to display, or if raw=True raw HTML data to
423 display.
424 raw : bool
425 Are the data objects raw data or Python objects that need to be
426 formatted before display? [default: False]
427 metadata : dict (optional)
428 Metadata to be associated with the specific mimetype output.
429 """
430 _display_mimetype('text/html', objs, **kwargs)
431
432
433def display_markdown(*objs, **kwargs):

Callers

nothing calls this directly

Calls 1

_display_mimetypeFunction · 0.85

Tested by

no test coverage detected