You are viewing an older version (9.10.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.10.0 / IPython / core / formatters / PDFFormatter

MetaHasTraits

IPython.core.formatters:PDFFormatter

source: /IPython/core/formatters.py :930

Signature

def   PDFFormatter ( ** kwargs : t.Any )  →  None

Summary

A PDF formatter.

Extended Summary

To define the callables that compute the PDF representation of your objects, define a _repr_pdf_ method or use the for_type or for_type_by_name methods to register functions that handle this.

The return value of this formatter should be raw PDF data, not base64 encoded.

Aliases

  • IPython.core.formatters.PDFFormatter