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

Function display_jpeg

IPython/core/display.py:485–499  ·  view source on GitHub ↗

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

(*objs, **kwargs)

Source from the content-addressed store, hash-verified

483
484
485def display_jpeg(*objs, **kwargs):
486 """Display the JPEG representation of an object.
487
488 Parameters
489 ----------
490 objs : tuple of objects
491 The Python objects to display, or if raw=True raw JPEG data to
492 display.
493 raw : bool
494 Are the data objects raw data or Python objects that need to be
495 formatted before display? [default: False]
496 metadata : dict (optional)
497 Metadata to be associated with the specific mimetype output.
498 """
499 _display_mimetype('image/jpeg', objs, **kwargs)
500
501
502def display_latex(*objs, **kwargs):

Callers

nothing calls this directly

Calls 1

_display_mimetypeFunction · 0.85

Tested by

no test coverage detected