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

Function display_png

IPython/core/display.py:468–482  ·  view source on GitHub ↗

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

(*objs, **kwargs)

Source from the content-addressed store, hash-verified

466
467
468def display_png(*objs, **kwargs):
469 """Display the PNG representation of an object.
470
471 Parameters
472 ----------
473 objs : tuple of objects
474 The Python objects to display, or if raw=True raw png data to
475 display.
476 raw : bool
477 Are the data objects raw data or Python objects that need to be
478 formatted before display? [default: False]
479 metadata : dict (optional)
480 Metadata to be associated with the specific mimetype output.
481 """
482 _display_mimetype('image/png', objs, **kwargs)
483
484
485def display_jpeg(*objs, **kwargs):

Callers

nothing calls this directly

Calls 1

_display_mimetypeFunction · 0.85

Tested by

no test coverage detected