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

Function display_pdf

IPython/core/display.py:555–569  ·  view source on GitHub ↗

Display the PDF 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 formatt

(*objs, **kwargs)

Source from the content-addressed store, hash-verified

553
554
555def display_pdf(*objs, **kwargs):
556 """Display the PDF representation of an object.
557
558 Parameters
559 ----------
560 objs : tuple of objects
561 The Python objects to display, or if raw=True raw javascript data to
562 display.
563 raw : bool
564 Are the data objects raw data or Python objects that need to be
565 formatted before display? [default: False]
566 metadata : dict (optional)
567 Metadata to be associated with the specific mimetype output.
568 """
569 _display_mimetype('application/pdf', objs, **kwargs)
570
571
572#-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

_display_mimetypeFunction · 0.85

Tested by

no test coverage detected