Warning

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

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