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

Function display_pretty

IPython/core/display.py:396–410  ·  view source on GitHub ↗

Display the pretty (default) representation of an object. Parameters ---------- objs : tuple of objects The Python objects to display, or if raw=True raw text 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

394
395
396def display_pretty(*objs, **kwargs):
397 """Display the pretty (default) representation of an object.
398
399 Parameters
400 ----------
401 objs : tuple of objects
402 The Python objects to display, or if raw=True raw text data to
403 display.
404 raw : bool
405 Are the data objects raw data or Python objects that need to be
406 formatted before display? [default: False]
407 metadata : dict (optional)
408 Metadata to be associated with the specific mimetype output.
409 """
410 _display_mimetype('text/plain', objs, **kwargs)
411
412
413def display_html(*objs, **kwargs):

Callers

nothing calls this directly

Calls 1

_display_mimetypeFunction · 0.85

Tested by

no test coverage detected