IPython Documentation

Table Of Contents

Previous topic

Module: nbconvert.transformers.sphinx

Next topic

Module: nbconvert.utils.base

This Page

Module: nbconvert.transformers.svg2pdf

Module containing a transformer that converts outputs in the notebook from one format to another.

1 Class

class IPython.nbconvert.transformers.svg2pdf.SVG2PDFTransformer(**kw)

Bases: IPython.nbconvert.transformers.convertfigures.ConvertFiguresTransformer

Converts all of the outputs in a notebook from SVG to PDF.

convert_figure(data_format, data)

Convert a single SVG figure to PDF. Returns converted data.