Warning

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

Module: nbconvert.preprocessors.clearoutput

Module containing a preprocessor that removes the outputs from code cells

1 Class

class IPython.nbconvert.preprocessors.clearoutput.ClearOutputPreprocessor(**kw)

Bases: IPython.nbconvert.preprocessors.base.Preprocessor

Removes the output from all code cells in a notebook.

preprocess_cell(cell, resources, cell_index)

Apply a transformation on each cell. See base.py for details.