IPython Documentation

Table Of Contents

Previous topic

Module: nbconvert.filters.ansi

Next topic

Module: nbconvert.filters.highlight

This Page

Module: nbconvert.filters.datatypefilter

Filter used to select the first preferred output format available.

The filter contained in the file allows the converter templates to select the output format that is most valuable to the active export format. The value of the different formats is set via NbConvertBase.display_data_priority

1 Class

class IPython.nbconvert.filters.datatypefilter.DataTypeFilter(**kw)

Bases: IPython.nbconvert.utils.base.NbConvertBase

Returns the preferred display format