### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# 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

### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »