This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: nbconvert.preprocessors.svg2pdf

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

1 Class

class IPython.nbconvert.preprocessors.svg2pdf.SVG2PDFPreprocessor(**kw)

Bases: IPython.nbconvert.preprocessors.convertfigures.ConvertFiguresPreprocessor

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.