IPython Documentation

Table Of Contents

Previous topic

Module: nbconvert.transformers.csshtmlheader

Next topic

Module: nbconvert.transformers.latex

This Page

Warning

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

Module: nbconvert.transformers.extractoutput

Module containing a transformer that extracts all of the outputs from the notebook file. The extracted outputs are returned in the ‘resources’ dictionary.

1 Class

class IPython.nbconvert.transformers.extractoutput.ExtractOutputTransformer(**kw)

Bases: IPython.nbconvert.transformers.base.Transformer

Extracts all of the outputs from the notebook file. The extracted outputs are returned in the ‘resources’ dictionary.

transform_cell(cell, resources, cell_index)

Apply a transformation on each cell,

Parameters:

cell : NotebookNode cell

Notebook cell being processed

resources : dictionary

Additional resources used in the conversion process. Allows transformers to pass variables into the Jinja engine.

cell_index : int

Index of the cell being processed (see base.py)