---
title: display
description: Display data and capture cell output without a frontend.
---
## Pretty

```python
def Pretty(
    data, *, metadata=None
):
```

*Wrap literal display data. Loading files and URLs is up to the caller.*

## HTML

```python
def HTML(
    data, *, metadata=None
):
```

*Wrap literal display data. Loading files and URLs is up to the caller.*

## Markdown

```python
def Markdown(
    data, *, metadata=None
):
```

*Wrap literal display data. Loading files and URLs is up to the caller.*

## Latex

```python
def Latex(
    data, *, metadata=None
):
```

*Wrap literal display data. Loading files and URLs is up to the caller.*

## Javascript

```python
def Javascript(
    data, *, metadata=None
):
```

*Wrap literal display data. Loading files and URLs is up to the caller.*

## Math

```python
def Math(
    data, *, metadata=None
):
```

*Wrap literal display data. Loading files and URLs is up to the caller.*

## JSON

```python
def JSON(
    data, *, expanded:bool=False, metadata=None, root:str='root', **kwargs
):
```

*Wrap literal display data. Loading files and URLs is up to the caller.*

### JSON.data

```python
def data():
```

## SVG

```python
def SVG(
    data, *, metadata=None
):
```

*Wrap literal display data. Loading files and URLs is up to the caller.*

### SVG.data

```python
def data():
```

## Image

```python
def Image(
    data, *, width=None, height=None, metadata=None, alt=None
):
```

*Display encoded image bytes (for example the result of a screenshot).*

## DisplayHandle

```python
def DisplayHandle(
    display_id=None
):
```

*Publish or update displays sharing an ID.*

### DisplayHandle.display

```python
def display(
    obj, **kwargs
):
```

### DisplayHandle.update

```python
def update(
    obj, **kwargs
):
```

## display

```python
def display(
    *objs, include=None, exclude=None, metadata=None, transient=None, display_id=None, raw:bool=False,
    clear:bool=False, update:bool=False
):
```

*Publish objects or raw MIME bundles. Return a handle if a display ID is requested.*

## display\_pretty

```python
def display_pretty(
    *objs, **kwargs
):
```

## display\_html

```python
def display_html(
    *objs, **kwargs
):
```

## display\_markdown

```python
def display_markdown(
    *objs, **kwargs
):
```

## display\_svg

```python
def display_svg(
    *objs, **kwargs
):
```

## display\_png

```python
def display_png(
    *objs, **kwargs
):
```

## display\_jpeg

```python
def display_jpeg(
    *objs, **kwargs
):
```

## display\_webp

```python
def display_webp(
    *objs, **kwargs
):
```

## display\_latex

```python
def display_latex(
    *objs, **kwargs
):
```

## display\_json

```python
def display_json(
    *objs, **kwargs
):
```

## display\_javascript

```python
def display_javascript(
    *objs, **kwargs
):
```

## display\_pdf

```python
def display_pdf(
    *objs, **kwargs
):
```

## update\_display

```python
def update_display(
    obj, *, display_id, **kwargs
):
```

*Publish an update to an existing display ID.*

## clear\_output

```python
def clear_output(
    wait:bool=False
):
```

*Clear captured rich displays, as in IPython's batch publisher.*
