IPython Documentation

Table Of Contents

Previous topic

Module: nbconvert.transformers.sphinx

Next topic

Module: nbconvert.utils.base

This Page


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

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.