This is a development version (9.14.0.dev) and may be unstable.Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.14.0.dev / 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